Class LangTags


public class LangTags extends Object
  • Constructor Details

    • LangTags

      public LangTags()
  • Method Details

    • formatLangtag

      public static String formatLangtag(String input)
      Format language tag. This is the system-wide policy for formatting language tags.
    • basicFormat

      public static String basicFormat(String string)
      Format an language tag assumed to be valid. This code only deals with langtags by the string length of the subtags. RFC 5646 section 2.1.1