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 classprivate static classprivate static enumprivate static classprivate static classprivate static classprivate static classprivate static enumprivate static classprivate static classprivate static classprivate static enumstatic 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 voidgetKeyInfo(UResourceBundle keyInfoRes) Reads keyInfo{ deprecated{ kh{"true"} vt{"true"} } valueType{ ca{"incremental"} h0{"single"} kr{"multiple"} vt{"multiple"} x0{"any"} } }private static voidgetTypeInfo(UResourceBundle typeInfoRes) Reads: typeInfo{ deprecated{ co{ direct{"true"} } tz{ camtr{"true"} } } }static KeyTypeData.ValueTypegetValueType(String key) private static voidprivate static voidstatic booleanisDeprecated(String key) static booleanisDeprecated(String key, String type) static Stringstatic Stringstatic StringtoLegacyKey(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
-