Package com.ibm.icu.impl.locale
Class KeyTypeData
java.lang.Object
com.ibm.icu.impl.locale.KeyTypeData
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static class
private static class
private static enum
private static class
private static class
private static class
private static class
private static enum
private static class
private static class
private static class
private static enum
static enum
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Object[][]
private static final Map
<String, KeyTypeData.KeyData> (package private) static Map
<String, KeyTypeData.ValueType> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBcp47KeyTypes
(String key) private static void
getKeyInfo
(UResourceBundle keyInfoRes) Reads keyInfo{ deprecated{ kh{"true"} vt{"true"} } valueType{ ca{"incremental"} h0{"single"} kr{"multiple"} vt{"multiple"} x0{"any"} } }private static void
getTypeInfo
(UResourceBundle typeInfoRes) Reads: typeInfo{ deprecated{ co{ direct{"true"} } tz{ camtr{"true"} } } }static KeyTypeData.ValueType
getValueType
(String key) private static void
private static void
static boolean
isDeprecated
(String key) static boolean
isDeprecated
(String key, String type) static String
static String
static String
toLegacyKey
(String key) static String
-
Field Details
-
DEPRECATED_KEYS
-
VALUE_TYPES
-
DEPRECATED_KEY_TYPES
-
KEY_DATA
-
KEYMAP
-
BCP47_KEYS
-
-
Constructor Details
-
KeyTypeData
public KeyTypeData()
-
-
Method Details
-
toBcpKey
-
toLegacyKey
-
toBcpType
-
toLegacyType
-
initFromResourceBundle
private static void initFromResourceBundle() -
getKeyInfo
Reads keyInfo{ deprecated{ kh{"true"} vt{"true"} } valueType{ ca{"incremental"} h0{"single"} kr{"multiple"} vt{"multiple"} x0{"any"} } } -
getTypeInfo
Reads: typeInfo{ deprecated{ co{ direct{"true"} } tz{ camtr{"true"} } } } -
initFromTables
private static void initFromTables() -
getBcp47Keys
-
getBcp47KeyTypes
-
isDeprecated
-
isDeprecated
-
getValueType
-