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:
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddDefaultResourceBundle(String resourceBundleName) voidclearAndAddDefaultResourceBundle(String bundleName) findDefaultText(String aTextName, Locale locale) findDefaultText(String aTextName, Locale locale, Object[] params) findResourceBundle(String aBundleName, Locale locale) findText(Class aClass, String aTextName, Locale locale, String defaultMessage, Object[] args, com.opensymphony.xwork2.util.ValueStack valueStack) findText(ResourceBundle bundle, String aTextName, Locale locale) findText(ResourceBundle bundle, String aTextName, Locale locale, String defaultMessage, Object[] args) findText(ResourceBundle bundle, String aTextName, Locale locale, String defaultMessage, Object[] args, com.opensymphony.xwork2.util.ValueStack valueStack) com.opensymphony.xwork2.util.StrutsLocalizedTextProvidervoidsetContainer(com.opensymphony.xwork2.inject.Container container)
-
Method Details
-
getInstance
-
clearAndAddDefaultResourceBundle
-
setContainer
public void setContainer(com.opensymphony.xwork2.inject.Container container) -
findDefaultText
- Specified by:
findDefaultTextin interfacecom.opensymphony.xwork2.LocalizedTextProvider
-
findDefaultText
- Specified by:
findDefaultTextin interfacecom.opensymphony.xwork2.LocalizedTextProvider
-
findResourceBundle
- Specified by:
findResourceBundlein interfacecom.opensymphony.xwork2.LocalizedTextProvider
-
findText
- Specified by:
findTextin interfacecom.opensymphony.xwork2.LocalizedTextProvider
-
findText
public String findText(Class aClass, String aTextName, Locale locale, String defaultMessage, Object[] args) - Specified by:
findTextin 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:
findTextin interfacecom.opensymphony.xwork2.LocalizedTextProvider
-
findText
- Specified by:
findTextin interfacecom.opensymphony.xwork2.LocalizedTextProvider
-
findText
public String findText(ResourceBundle bundle, String aTextName, Locale locale, String defaultMessage, Object[] args) - Specified by:
findTextin 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:
findTextin interfacecom.opensymphony.xwork2.LocalizedTextProvider
-
addDefaultResourceBundle
- Specified by:
addDefaultResourceBundlein interfacecom.opensymphony.xwork2.LocalizedTextProvider
-
getDelegate
public com.opensymphony.xwork2.util.StrutsLocalizedTextProvider getDelegate()
-