public class BambooTextProvider
extends com.opensymphony.xwork2.DefaultTextProvider
implements com.atlassian.struts.TextProvider, com.opensymphony.xwork.TextProvider
Modifier and Type | Method and Description |
---|---|
static BambooTextProvider |
getInstance() |
static ClassLoader |
getMainAppClassloader() |
String |
getText(String key) |
String |
getText(String key,
List args) |
String |
getText(String key,
String defaultValue) |
String |
getText(String key,
String[] args) |
String |
getText(String key,
String defaultValue,
List args) |
String |
getText(String key,
String defaultValue,
List<?> args,
com.opensymphony.xwork2.util.ValueStack stack) |
String |
getText(String key,
String defaultValue,
List args,
com.opensymphony.xwork.util.OgnlValueStack stack)
Deprecated.
|
String |
getText(String key,
String defaultValue,
String obj) |
String |
getText(String key,
String defaultValue,
String[] args) |
String |
getText(String key,
String defaultValue,
String[] args,
com.opensymphony.xwork.util.OgnlValueStack stack)
Deprecated.
|
String |
getText(String key,
String defaultValue,
String[] args,
com.opensymphony.xwork2.util.ValueStack stack) |
ResourceBundle |
getTexts() |
ResourceBundle |
getTexts(String bundleName) |
boolean |
hasKey(String key) |
static void |
setWebAppClassLoader(ClassLoader classLoader) |
public static BambooTextProvider getInstance()
public static void setWebAppClassLoader(ClassLoader classLoader)
public static ClassLoader getMainAppClassloader()
public boolean hasKey(String key)
hasKey
in interface com.opensymphony.xwork2.TextProvider
hasKey
in class com.opensymphony.xwork2.DefaultTextProvider
public String getText(String key)
getText
in interface com.opensymphony.xwork2.TextProvider
getText
in class com.opensymphony.xwork2.DefaultTextProvider
public String getText(String key, String defaultValue)
getText
in interface com.opensymphony.xwork2.TextProvider
getText
in class com.opensymphony.xwork2.DefaultTextProvider
public String getText(String key, List args)
getText
in interface com.opensymphony.xwork2.TextProvider
getText
in class com.opensymphony.xwork2.DefaultTextProvider
public String getText(String key, String[] args)
getText
in interface com.opensymphony.xwork2.TextProvider
getText
in class com.opensymphony.xwork2.DefaultTextProvider
public String getText(String key, String defaultValue, List args)
getText
in interface com.opensymphony.xwork2.TextProvider
getText
in class com.opensymphony.xwork2.DefaultTextProvider
public String getText(String key, String defaultValue, String[] args)
getText
in interface com.opensymphony.xwork2.TextProvider
getText
in class com.opensymphony.xwork2.DefaultTextProvider
public String getText(String key, String defaultValue, String obj)
getText
in interface com.opensymphony.xwork2.TextProvider
getText
in class com.opensymphony.xwork2.DefaultTextProvider
public String getText(String key, String defaultValue, List<?> args, com.opensymphony.xwork2.util.ValueStack stack)
getText
in interface com.opensymphony.xwork2.TextProvider
getText
in class com.opensymphony.xwork2.DefaultTextProvider
public String getText(String key, String defaultValue, String[] args, com.opensymphony.xwork2.util.ValueStack stack)
getText
in interface com.opensymphony.xwork2.TextProvider
getText
in class com.opensymphony.xwork2.DefaultTextProvider
public ResourceBundle getTexts(String bundleName)
getTexts
in interface com.opensymphony.xwork2.TextProvider
getTexts
in class com.opensymphony.xwork2.DefaultTextProvider
public ResourceBundle getTexts()
getTexts
in interface com.opensymphony.xwork2.TextProvider
getTexts
in class com.opensymphony.xwork2.DefaultTextProvider
@Deprecated public String getText(String key, String defaultValue, List args, com.opensymphony.xwork.util.OgnlValueStack stack)
getText(String, String, java.util.List, com.opensymphony.xwork2.util.ValueStack)
@Deprecated public String getText(String key, String defaultValue, String[] args, com.opensymphony.xwork.util.OgnlValueStack stack)
getText(String, String, String[], com.opensymphony.xwork2.util.ValueStack)
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.
View cookie preferences