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.TextProviderhasKey in class com.opensymphony.xwork2.DefaultTextProviderpublic String getText(String key)
getText in interface com.opensymphony.xwork2.TextProvidergetText in class com.opensymphony.xwork2.DefaultTextProviderpublic String getText(String key, String defaultValue)
getText in interface com.opensymphony.xwork2.TextProvidergetText in class com.opensymphony.xwork2.DefaultTextProviderpublic String getText(String key, List args)
getText in interface com.opensymphony.xwork2.TextProvidergetText in class com.opensymphony.xwork2.DefaultTextProviderpublic String getText(String key, String[] args)
getText in interface com.opensymphony.xwork2.TextProvidergetText in class com.opensymphony.xwork2.DefaultTextProviderpublic String getText(String key, String defaultValue, List args)
getText in interface com.opensymphony.xwork2.TextProvidergetText in class com.opensymphony.xwork2.DefaultTextProviderpublic String getText(String key, String defaultValue, String[] args)
getText in interface com.opensymphony.xwork2.TextProvidergetText in class com.opensymphony.xwork2.DefaultTextProviderpublic String getText(String key, String defaultValue, String obj)
getText in interface com.opensymphony.xwork2.TextProvidergetText in class com.opensymphony.xwork2.DefaultTextProviderpublic String getText(String key, String defaultValue, List<?> args, com.opensymphony.xwork2.util.ValueStack stack)
getText in interface com.opensymphony.xwork2.TextProvidergetText in class com.opensymphony.xwork2.DefaultTextProviderpublic String getText(String key, String defaultValue, String[] args, com.opensymphony.xwork2.util.ValueStack stack)
getText in interface com.opensymphony.xwork2.TextProvidergetText in class com.opensymphony.xwork2.DefaultTextProviderpublic ResourceBundle getTexts(String bundleName)
getTexts in interface com.opensymphony.xwork2.TextProvidergetTexts in class com.opensymphony.xwork2.DefaultTextProviderpublic ResourceBundle getTexts()
getTexts in interface com.opensymphony.xwork2.TextProvidergetTexts 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 © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.