Class BambooTextProvider

  • All Implemented Interfaces:
    com.atlassian.struts.TextProvider, com.opensymphony.xwork.TextProvider, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Unchainable, Serializable

    public class BambooTextProvider
    extends com.opensymphony.xwork2.DefaultTextProvider
    implements com.atlassian.struts.TextProvider, com.opensymphony.xwork.TextProvider
    See Also:
    Serialized Form
    • Method Detail

      • setWebAppClassLoader

        public static void setWebAppClassLoader​(ClassLoader classLoader)
      • getMainAppClassloader

        public static ClassLoader getMainAppClassloader()
      • hasKey

        public boolean hasKey​(String key)
        Specified by:
        hasKey in interface com.opensymphony.xwork.TextProvider
        Specified by:
        hasKey in interface com.opensymphony.xwork2.TextProvider
        Overrides:
        hasKey in class com.opensymphony.xwork2.DefaultTextProvider
      • getText

        public String getText​(String key)
        Specified by:
        getText in interface com.opensymphony.xwork.TextProvider
        Specified by:
        getText in interface com.opensymphony.xwork2.TextProvider
        Overrides:
        getText in class com.opensymphony.xwork2.DefaultTextProvider
      • getText

        public String getText​(String key,
                              String defaultValue)
        Specified by:
        getText in interface com.opensymphony.xwork.TextProvider
        Specified by:
        getText in interface com.opensymphony.xwork2.TextProvider
        Overrides:
        getText in class com.opensymphony.xwork2.DefaultTextProvider
      • getText

        public String getText​(String key,
                              List args)
        Specified by:
        getText in interface com.opensymphony.xwork.TextProvider
        Specified by:
        getText in interface com.opensymphony.xwork2.TextProvider
        Overrides:
        getText in class com.opensymphony.xwork2.DefaultTextProvider
      • getText

        public String getText​(String key,
                              String[] args)
        Specified by:
        getText in interface com.opensymphony.xwork.TextProvider
        Specified by:
        getText in interface com.opensymphony.xwork2.TextProvider
        Overrides:
        getText in class com.opensymphony.xwork2.DefaultTextProvider
      • getText

        public String getText​(String key,
                              String defaultValue,
                              List args)
        Specified by:
        getText in interface com.opensymphony.xwork.TextProvider
        Specified by:
        getText in interface com.opensymphony.xwork2.TextProvider
        Overrides:
        getText in class com.opensymphony.xwork2.DefaultTextProvider
      • getText

        public String getText​(String key,
                              String defaultValue,
                              String[] args)
        Specified by:
        getText in interface com.opensymphony.xwork.TextProvider
        Specified by:
        getText in interface com.opensymphony.xwork2.TextProvider
        Overrides:
        getText in class com.opensymphony.xwork2.DefaultTextProvider
      • getText

        public String getText​(String key,
                              String defaultValue,
                              String obj)
        Specified by:
        getText in interface com.opensymphony.xwork.TextProvider
        Specified by:
        getText in interface com.opensymphony.xwork2.TextProvider
        Overrides:
        getText in class com.opensymphony.xwork2.DefaultTextProvider
      • getText

        public String getText​(String key,
                              String defaultValue,
                              List<?> args,
                              com.opensymphony.xwork2.util.ValueStack stack)
        Specified by:
        getText in interface com.opensymphony.xwork2.TextProvider
        Overrides:
        getText in class com.opensymphony.xwork2.DefaultTextProvider
      • getText

        public String getText​(String key,
                              String defaultValue,
                              String[] args,
                              com.opensymphony.xwork2.util.ValueStack stack)
        Specified by:
        getText in interface com.opensymphony.xwork2.TextProvider
        Overrides:
        getText in class com.opensymphony.xwork2.DefaultTextProvider
      • getTexts

        public ResourceBundle getTexts​(String bundleName)
        Specified by:
        getTexts in interface com.opensymphony.xwork.TextProvider
        Specified by:
        getTexts in interface com.opensymphony.xwork2.TextProvider
        Overrides:
        getTexts in class com.opensymphony.xwork2.DefaultTextProvider
      • getTexts

        public ResourceBundle getTexts()
        Specified by:
        getTexts in interface com.opensymphony.xwork.TextProvider
        Specified by:
        getTexts in interface com.opensymphony.xwork2.TextProvider
        Overrides:
        getTexts in class com.opensymphony.xwork2.DefaultTextProvider