Class LocaleUtils

java.lang.Object
org.apache.myfaces.tobago.util.LocaleUtils

public final class LocaleUtils extends Object
  • Method Details

    • createLocale

      public static Locale createLocale(String value)
    • getLocaleList

      @Deprecated(since="1.5.0", forRemoval=true) public static List<Locale> getLocaleList(Locale locale)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getLocaleSuffixList

      public static List<String> getLocaleSuffixList(Locale locale)
      Returns a list of strings, which are used as suffix for resources from resource manager.

      Sample: "de_DE" -> "_de_DE", "_de", ""