Class LocaleParser


  • public abstract class LocaleParser
    extends Object
    Converts a locale String like "en_GB" into a Java Locale object.
    • Method Detail

      • toLocale

        public static Locale toLocale​(String localeString)
        Converts a locale String like "en_GB" into a Java Locale object.
      • toLocaleFromHttpHeader

        public static Locale toLocaleFromHttpHeader​(String localeString)