public class TextProviderAdapter extends Object implements com.opensymphony.xwork2.TextProvider
Constructor and Description |
---|
TextProviderAdapter(I18nBean i18nBean) |
Modifier and Type | Method and Description |
---|---|
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.ognl.OgnlValueStack stack) |
String |
getText(String key,
String defaultValue,
List args,
com.opensymphony.xwork2.util.ValueStack valueStack) |
String |
getText(String key,
String defaultValue,
String arg) |
String |
getText(String key,
String defaultValue,
String[] args) |
String |
getText(String key,
String defaultValue,
String[] args,
com.opensymphony.xwork2.ognl.OgnlValueStack stack) |
String |
getText(String key,
String defaultValue,
String[] args,
com.opensymphony.xwork2.util.ValueStack valueStack) |
ResourceBundle |
getTexts() |
ResourceBundle |
getTexts(String bundleName) |
boolean |
hasKey(String key) |
public TextProviderAdapter(I18nBean i18nBean)
public boolean hasKey(String key)
hasKey
in interface com.opensymphony.xwork2.TextProvider
public String getText(String key)
getText
in interface com.opensymphony.xwork2.TextProvider
public String getText(String key, String defaultValue)
getText
in interface com.opensymphony.xwork2.TextProvider
public String getText(String key, String defaultValue, String arg)
getText
in interface com.opensymphony.xwork2.TextProvider
public String getText(String key, List args)
getText
in interface com.opensymphony.xwork2.TextProvider
public String getText(String key, String defaultValue, List args)
getText
in interface com.opensymphony.xwork2.TextProvider
public String getText(String key, String[] args)
getText
in interface com.opensymphony.xwork2.TextProvider
public String getText(String key, String defaultValue, String[] args)
getText
in interface com.opensymphony.xwork2.TextProvider
public String getText(String key, String defaultValue, List args, com.opensymphony.xwork2.ognl.OgnlValueStack stack)
public String getText(String key, String defaultValue, String[] args, com.opensymphony.xwork2.ognl.OgnlValueStack stack)
public String getText(String key, String defaultValue, List args, com.opensymphony.xwork2.util.ValueStack valueStack)
getText
in interface com.opensymphony.xwork2.TextProvider
public String getText(String key, String defaultValue, String[] args, com.opensymphony.xwork2.util.ValueStack valueStack)
getText
in interface com.opensymphony.xwork2.TextProvider
public ResourceBundle getTexts(String bundleName)
getTexts
in interface com.opensymphony.xwork2.TextProvider
public ResourceBundle getTexts()
getTexts
in interface com.opensymphony.xwork2.TextProvider
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.