Class LocaleUtility


  • public class LocaleUtility
    extends java.lang.Object
    Author:
    Igor Hersht, igorh@ca.ibm.com
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String EMPTY_STRING  
      static char IETF_SEPARATOR
      IETF RFC 1766 tag separator
    • Constructor Summary

      Constructors 
      Constructor Description
      LocaleUtility()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.Locale langToLocale​(java.lang.String lang)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • IETF_SEPARATOR

        public static final char IETF_SEPARATOR
        IETF RFC 1766 tag separator
        See Also:
        Constant Field Values
    • Constructor Detail

      • LocaleUtility

        public LocaleUtility()
    • Method Detail

      • langToLocale

        public static java.util.Locale langToLocale​(java.lang.String lang)