public class PluginAwareStrutsLocalizedTextProvider extends Object implements com.opensymphony.xwork2.LocalizedTextProvider
Modifier and Type | Method and 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) |
public static PluginAwareStrutsLocalizedTextProvider getInstance()
public void clearAndAddDefaultResourceBundle(String bundleName)
public void setContainer(com.opensymphony.xwork2.inject.Container container)
public String findDefaultText(String aTextName, Locale locale)
findDefaultText
in interface com.opensymphony.xwork2.LocalizedTextProvider
public String findDefaultText(String aTextName, Locale locale, Object[] params)
findDefaultText
in interface com.opensymphony.xwork2.LocalizedTextProvider
public ResourceBundle findResourceBundle(String aBundleName, Locale locale)
findResourceBundle
in interface com.opensymphony.xwork2.LocalizedTextProvider
public String findText(Class aClass, String aTextName, Locale locale)
findText
in interface com.opensymphony.xwork2.LocalizedTextProvider
public String findText(Class aClass, String aTextName, Locale locale, String defaultMessage, Object[] args)
findText
in interface com.opensymphony.xwork2.LocalizedTextProvider
public String findText(Class aClass, String aTextName, Locale locale, String defaultMessage, Object[] args, com.opensymphony.xwork2.util.ValueStack valueStack)
findText
in interface com.opensymphony.xwork2.LocalizedTextProvider
public String findText(ResourceBundle bundle, String aTextName, Locale locale)
findText
in interface com.opensymphony.xwork2.LocalizedTextProvider
public String findText(ResourceBundle bundle, String aTextName, Locale locale, String defaultMessage, Object[] args)
findText
in interface com.opensymphony.xwork2.LocalizedTextProvider
public String findText(ResourceBundle bundle, String aTextName, Locale locale, String defaultMessage, Object[] args, com.opensymphony.xwork2.util.ValueStack valueStack)
findText
in interface com.opensymphony.xwork2.LocalizedTextProvider
public void addDefaultResourceBundle(String resourceBundleName)
addDefaultResourceBundle
in interface com.opensymphony.xwork2.LocalizedTextProvider
public com.opensymphony.xwork2.util.StrutsLocalizedTextProvider getDelegate()
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.