com.atlassian.bamboo.utils.i18n
Class TextProviderAdapter

java.lang.Object
  extended by com.atlassian.bamboo.utils.i18n.TextProviderAdapter
All Implemented Interfaces:
com.opensymphony.xwork.TextProvider

public class TextProviderAdapter
extends java.lang.Object
implements com.opensymphony.xwork.TextProvider


Constructor Summary
TextProviderAdapter(I18nBean i18nBean)
           
 
Method Summary
 java.lang.String getText(java.lang.String key)
           
 java.lang.String getText(java.lang.String key, java.util.List args)
           
 java.lang.String getText(java.lang.String key, java.lang.String defaultValue)
           
 java.lang.String getText(java.lang.String key, java.lang.String[] args)
           
 java.lang.String getText(java.lang.String key, java.lang.String defaultValue, java.util.List args)
           
 java.lang.String getText(java.lang.String key, java.lang.String defaultValue, java.util.List args, com.opensymphony.xwork.util.OgnlValueStack stack)
           
 java.lang.String getText(java.lang.String key, java.lang.String defaultValue, java.lang.String arg)
           
 java.lang.String getText(java.lang.String key, java.lang.String defaultValue, java.lang.String[] args)
           
 java.lang.String getText(java.lang.String key, java.lang.String defaultValue, java.lang.String[] args, com.opensymphony.xwork.util.OgnlValueStack stack)
           
 java.util.ResourceBundle getTexts()
           
 java.util.ResourceBundle getTexts(java.lang.String bundleName)
           
 boolean hasKey(java.lang.String key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextProviderAdapter

public TextProviderAdapter(I18nBean i18nBean)
Method Detail

hasKey

public boolean hasKey(java.lang.String key)
Specified by:
hasKey in interface com.opensymphony.xwork.TextProvider

getText

public java.lang.String getText(java.lang.String key)
Specified by:
getText in interface com.opensymphony.xwork.TextProvider

getText

public java.lang.String getText(java.lang.String key,
                                java.lang.String defaultValue)
Specified by:
getText in interface com.opensymphony.xwork.TextProvider

getText

public java.lang.String getText(java.lang.String key,
                                java.lang.String defaultValue,
                                java.lang.String arg)
Specified by:
getText in interface com.opensymphony.xwork.TextProvider

getText

public java.lang.String getText(java.lang.String key,
                                java.util.List args)
Specified by:
getText in interface com.opensymphony.xwork.TextProvider

getText

public java.lang.String getText(java.lang.String key,
                                java.lang.String defaultValue,
                                java.util.List args)
Specified by:
getText in interface com.opensymphony.xwork.TextProvider

getText

public java.lang.String getText(java.lang.String key,
                                java.lang.String[] args)
Specified by:
getText in interface com.opensymphony.xwork.TextProvider

getText

public java.lang.String getText(java.lang.String key,
                                java.lang.String defaultValue,
                                java.lang.String[] args)
Specified by:
getText in interface com.opensymphony.xwork.TextProvider

getText

public java.lang.String getText(java.lang.String key,
                                java.lang.String defaultValue,
                                java.util.List args,
                                com.opensymphony.xwork.util.OgnlValueStack stack)
Specified by:
getText in interface com.opensymphony.xwork.TextProvider

getText

public java.lang.String getText(java.lang.String key,
                                java.lang.String defaultValue,
                                java.lang.String[] args,
                                com.opensymphony.xwork.util.OgnlValueStack stack)
Specified by:
getText in interface com.opensymphony.xwork.TextProvider

getTexts

public java.util.ResourceBundle getTexts(java.lang.String bundleName)
Specified by:
getTexts in interface com.opensymphony.xwork.TextProvider

getTexts

public java.util.ResourceBundle getTexts()
Specified by:
getTexts in interface com.opensymphony.xwork.TextProvider


Copyright © 2012 Atlassian. All Rights Reserved.