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
  • Constructor Details

    • TextProviderAdapter

      public TextProviderAdapter(I18nBean i18nBean)
  • Method Details

    • 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