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 TypeMethodDescriptionvoid
addDefaultResourceBundle
(String resourceBundleName) void
clearAndAddDefaultResourceBundle
(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.StrutsLocalizedTextProvider
void
setContainer
(com.opensymphony.xwork2.inject.Container container)
-
Method Details
-
getInstance
-
clearAndAddDefaultResourceBundle
-
setContainer
public void setContainer(com.opensymphony.xwork2.inject.Container container) -
findDefaultText
- Specified by:
findDefaultText
in interfacecom.opensymphony.xwork2.LocalizedTextProvider
-
findDefaultText
- Specified by:
findDefaultText
in interfacecom.opensymphony.xwork2.LocalizedTextProvider
-
findResourceBundle
- Specified by:
findResourceBundle
in interfacecom.opensymphony.xwork2.LocalizedTextProvider
-
findText
- 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
- 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
- Specified by:
addDefaultResourceBundle
in interfacecom.opensymphony.xwork2.LocalizedTextProvider
-
getDelegate
public com.opensymphony.xwork2.util.StrutsLocalizedTextProvider getDelegate()
-