Class Localizer


  • @Deprecated(since="2021-07-29")
    public final class Localizer
    extends Object
    Deprecated.
    This API is deprecated as Apache Abdera is a retired project since 2017.
    Wraps ResourceBundle with a couple of additional, useful methods. Used for l10n
    • Constructor Detail

      • Localizer

        public Localizer()
        Deprecated.
      • Localizer

        public Localizer​(String bundle)
        Deprecated.
      • Localizer

        public Localizer​(String bundle,
                         Locale locale)
        Deprecated.
    • Method Detail

      • getInstance

        public static Localizer getInstance()
        Deprecated.
      • setInstance

        public static void setInstance​(Localizer localizer)
        Deprecated.
      • get

        public static String get​(String key)
        Deprecated.
      • getLocale

        public Locale getLocale()
        Deprecated.
      • getValue

        public String getValue​(String key)
        Deprecated.
      • formatValue

        public String formatValue​(String key,
                                  Object... args)
        Deprecated.
        Use the pre-JDK 1.5 MessageFormat. This should be avoided. Applications should use the sprintfValue method instead
        See Also:
        springfValue
      • sprintfValue

        public String sprintfValue​(String key,
                                   Object... args)
        Deprecated.
        Use the JDK 1.5 sprintf style Formatter