sun.text.normalizer.UProperty |
Selection constants for Unicode properties.
These constants are used in functions like UCharacter.hasBinaryProperty(int) to select one of the Unicode properties.
The properties APIs are intended to reflect Unicode properties as defined in the Unicode Character Database (UCD) and Unicode Technical Reports (UTR).
For details about the properties see http://www.unicode.org.
For names of Unicode properties see the UCD file PropertyAliases.txt.
Important: If ICU is built with UCD files from Unicode versions below 3.2, then properties marked with "new" are not or not fully available. Check UCharacter.getUnicodeVersion() to be sure.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | GENERAL_CATEGORY_MASK | Bitmask property General_Category_Mask. | |||||||||
int | HANGUL_SYLLABLE_TYPE | Enumerated property Hangul_Syllable_Type, new in Unicode 4. |
Bitmask property General_Category_Mask. This is the General_Category property returned as a bit mask. When used in UCharacter.getIntPropertyValue(c), returns bit masks for UCharacterCategory values where exactly one bit is set. When used with UCharacter.getPropertyValueName() and UCharacter.getPropertyValueEnum(), a multi-bit mask is used for sets of categories like "Letters".
Enumerated property Hangul_Syllable_Type, new in Unicode 4. Returns HangulSyllableType values.