com.atlassian.bamboo.utils.i18n
Class TextProviderAdapter
java.lang.Object
com.atlassian.bamboo.utils.i18n.TextProviderAdapter
- All Implemented Interfaces:
- com.opensymphony.xwork2.TextProvider
public class TextProviderAdapter
- extends Object
- implements com.opensymphony.xwork2.TextProvider
Method Summary |
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TextProviderAdapter
public TextProviderAdapter(I18nBean i18nBean)
hasKey
public boolean hasKey(String key)
- Specified by:
hasKey
in interface com.opensymphony.xwork2.TextProvider
getText
public String getText(String key)
- Specified by:
getText
in interface com.opensymphony.xwork2.TextProvider
getText
public String getText(String key,
String defaultValue)
- Specified by:
getText
in interface com.opensymphony.xwork2.TextProvider
getText
public String getText(String key,
String defaultValue,
String arg)
- Specified by:
getText
in interface com.opensymphony.xwork2.TextProvider
getText
public String getText(String key,
List args)
- Specified by:
getText
in interface com.opensymphony.xwork2.TextProvider
getText
public String getText(String key,
String defaultValue,
List args)
- Specified by:
getText
in interface com.opensymphony.xwork2.TextProvider
getText
public String getText(String key,
String[] args)
- Specified by:
getText
in interface com.opensymphony.xwork2.TextProvider
getText
public String getText(String key,
String defaultValue,
String[] args)
- Specified by:
getText
in interface com.opensymphony.xwork2.TextProvider
getText
public String getText(String key,
String defaultValue,
List args,
com.opensymphony.xwork2.ognl.OgnlValueStack stack)
getText
public String getText(String key,
String defaultValue,
String[] args,
com.opensymphony.xwork2.ognl.OgnlValueStack stack)
getText
public String getText(String key,
String defaultValue,
List args,
com.opensymphony.xwork2.util.ValueStack valueStack)
- Specified by:
getText
in interface com.opensymphony.xwork2.TextProvider
getText
public String getText(String key,
String defaultValue,
String[] args,
com.opensymphony.xwork2.util.ValueStack valueStack)
- Specified by:
getText
in interface com.opensymphony.xwork2.TextProvider
getTexts
public ResourceBundle getTexts(String bundleName)
- Specified by:
getTexts
in interface com.opensymphony.xwork2.TextProvider
getTexts
public ResourceBundle getTexts()
- Specified by:
getTexts
in interface com.opensymphony.xwork2.TextProvider
Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.