Package com.atlassian.bamboo.plugin
Class PluginAwareStrutsLocalizedTextProvider
- java.lang.Object
-
- com.atlassian.bamboo.plugin.PluginAwareStrutsLocalizedTextProvider
-
- All Implemented Interfaces:
com.opensymphony.xwork2.LocalizedTextProvider
,Serializable
public class PluginAwareStrutsLocalizedTextProvider extends Object implements com.opensymphony.xwork2.LocalizedTextProvider
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addDefaultResourceBundle(String resourceBundleName)
void
clearAndAddDefaultResourceBundle(String bundleName)
String
findDefaultText(String aTextName, Locale locale)
String
findDefaultText(String aTextName, Locale locale, Object[] params)
ResourceBundle
findResourceBundle(String aBundleName, Locale locale)
String
findText(Class aClass, String aTextName, Locale locale)
String
findText(Class aClass, String aTextName, Locale locale, String defaultMessage, Object[] args)
String
findText(Class aClass, String aTextName, Locale locale, String defaultMessage, Object[] args, com.opensymphony.xwork2.util.ValueStack valueStack)
String
findText(ResourceBundle bundle, String aTextName, Locale locale)
String
findText(ResourceBundle bundle, String aTextName, Locale locale, String defaultMessage, Object[] args)
String
findText(ResourceBundle bundle, String aTextName, Locale locale, String defaultMessage, Object[] args, com.opensymphony.xwork2.util.ValueStack valueStack)
com.opensymphony.xwork2.util.StrutsLocalizedTextProvider
getDelegate()
static PluginAwareStrutsLocalizedTextProvider
getInstance()
void
setContainer(com.opensymphony.xwork2.inject.Container container)
-
-
-
Method Detail
-
getInstance
public static PluginAwareStrutsLocalizedTextProvider getInstance()
-
clearAndAddDefaultResourceBundle
public void clearAndAddDefaultResourceBundle(String bundleName)
-
setContainer
public void setContainer(com.opensymphony.xwork2.inject.Container container)
-
findDefaultText
public String findDefaultText(String aTextName, Locale locale)
- Specified by:
findDefaultText
in interfacecom.opensymphony.xwork2.LocalizedTextProvider
-
findDefaultText
public String findDefaultText(String aTextName, Locale locale, Object[] params)
- Specified by:
findDefaultText
in interfacecom.opensymphony.xwork2.LocalizedTextProvider
-
findResourceBundle
public ResourceBundle findResourceBundle(String aBundleName, Locale locale)
- Specified by:
findResourceBundle
in interfacecom.opensymphony.xwork2.LocalizedTextProvider
-
findText
public String findText(Class aClass, String aTextName, Locale locale)
- Specified by:
findText
in interfacecom.opensymphony.xwork2.LocalizedTextProvider
-
findText
public String findText(Class aClass, String aTextName, Locale locale, String defaultMessage, Object[] args)
- Specified by:
findText
in interfacecom.opensymphony.xwork2.LocalizedTextProvider
-
findText
public String findText(Class aClass, String aTextName, Locale locale, String defaultMessage, Object[] args, com.opensymphony.xwork2.util.ValueStack valueStack)
- Specified by:
findText
in interfacecom.opensymphony.xwork2.LocalizedTextProvider
-
findText
public String findText(ResourceBundle bundle, String aTextName, Locale locale)
- Specified by:
findText
in interfacecom.opensymphony.xwork2.LocalizedTextProvider
-
findText
public String findText(ResourceBundle bundle, String aTextName, Locale locale, String defaultMessage, Object[] args)
- Specified by:
findText
in interfacecom.opensymphony.xwork2.LocalizedTextProvider
-
findText
public String findText(ResourceBundle bundle, String aTextName, Locale locale, String defaultMessage, Object[] args, com.opensymphony.xwork2.util.ValueStack valueStack)
- Specified by:
findText
in interfacecom.opensymphony.xwork2.LocalizedTextProvider
-
addDefaultResourceBundle
public void addDefaultResourceBundle(String resourceBundleName)
- Specified by:
addDefaultResourceBundle
in interfacecom.opensymphony.xwork2.LocalizedTextProvider
-
getDelegate
public com.opensymphony.xwork2.util.StrutsLocalizedTextProvider getDelegate()
-
-