Class KeyTypeData

java.lang.Object
com.ibm.icu.impl.locale.KeyTypeData

public class KeyTypeData extends Object
  • Field Details

  • Constructor Details

    • KeyTypeData

      public KeyTypeData()
  • Method Details

    • toBcpKey

      public static String toBcpKey(String key)
    • toLegacyKey

      public static String toLegacyKey(String key)
    • toBcpType

      public static String toBcpType(String key, String type, Output<Boolean> isKnownKey, Output<Boolean> isSpecialType)
    • toLegacyType

      public static String toLegacyType(String key, String type, Output<Boolean> isKnownKey, Output<Boolean> isSpecialType)
    • initFromResourceBundle

      private static void initFromResourceBundle()
    • getKeyInfo

      private static void getKeyInfo(UResourceBundle keyInfoRes)
      Reads keyInfo{ deprecated{ kh{"true"} vt{"true"} } valueType{ ca{"incremental"} h0{"single"} kr{"multiple"} vt{"multiple"} x0{"any"} } }
    • getTypeInfo

      private static void getTypeInfo(UResourceBundle typeInfoRes)
      Reads: typeInfo{ deprecated{ co{ direct{"true"} } tz{ camtr{"true"} } } }
    • initFromTables

      private static void initFromTables()
    • getBcp47Keys

      public static Set<String> getBcp47Keys()
    • getBcp47KeyTypes

      public static Set<String> getBcp47KeyTypes(String key)
    • isDeprecated

      public static boolean isDeprecated(String key)
    • isDeprecated

      public static boolean isDeprecated(String key, String type)
    • getValueType

      public static KeyTypeData.ValueType getValueType(String key)