Class UCharacterCategory
java.lang.Object
com.ibm.icu.lang.UCharacterCategory
- All Implemented Interfaces:
UCharacterEnums.ECharacterCategory
Enumerated Unicode category types from the UnicodeData.txt file. Used as return results from UCharacter Equivalent to icu's UCharCategory. Refer to Unicode Consortium for more information
about UnicodeData.txt.
NOTE: the UCharacterCategory values are not compatible with those returned by java.lang.Character.getType. UCharacterCategory values match the ones used in ICU4C, while java.lang.Character type values, though similar, skip the value 17.
This class is not subclassable
- Author:
- Syn Wee Quek
- Status:
- Stable ICU 2.1.
-
Field Summary
Fields inherited from interface UCharacterEnums.ECharacterCategory
CHAR_CATEGORY_COUNT, COMBINING_SPACING_MARK, CONNECTOR_PUNCTUATION, CONTROL, CURRENCY_SYMBOL, DASH_PUNCTUATION, DECIMAL_DIGIT_NUMBER, ENCLOSING_MARK, END_PUNCTUATION, FINAL_PUNCTUATION, FINAL_QUOTE_PUNCTUATION, FORMAT, GENERAL_OTHER_TYPES, INITIAL_PUNCTUATION, INITIAL_QUOTE_PUNCTUATION, LETTER_NUMBER, LINE_SEPARATOR, LOWERCASE_LETTER, MATH_SYMBOL, MODIFIER_LETTER, MODIFIER_SYMBOL, NON_SPACING_MARK, OTHER_LETTER, OTHER_NUMBER, OTHER_PUNCTUATION, OTHER_SYMBOL, PARAGRAPH_SEPARATOR, PRIVATE_USE, SPACE_SEPARATOR, START_PUNCTUATION, SURROGATE, TITLECASE_LETTER, UNASSIGNED, UPPERCASE_LETTERModifier and TypeFieldDescriptionstatic final byteOne more than the highest normal ECharacterCategory value.static final byteCharacter type Mcstatic final byteCharacter type Pcstatic final byteCharacter type Ccstatic final byteCharacter type Scstatic final byteCharacter type Pdstatic final byteCharacter type Ndstatic final byteCharacter type Mestatic final byteCharacter type Pestatic final byteCharacter type Pfstatic final byteCharacter type Pf This name is compatible with java.lang.Character's name for this type.static final byteCharacter type Cfstatic final byteCharacter type Cn Not Assigned (no characters in [UnicodeData.txt] have this property)static final byteCharacter type Pistatic final byteCharacter type Pi This name is compatible with java.lang.Character's name for this type.static final byteCharacter type Nlstatic final byteCharacter type Zlstatic final byteCharacter type Llstatic final byteCharacter type Smstatic final byteCharacter type Lmstatic final byteCharacter type Skstatic final byteCharacter type Mnstatic final byteCharacter type Lostatic final byteCharacter type Nostatic final byteCharacter type Postatic final byteCharacter type Sostatic final byteCharacter type Zpstatic final byteCharacter type Costatic final byteCharacter type Zsstatic final byteCharacter type Psstatic final byteCharacter type Csstatic final byteCharacter type Ltstatic final byteUnassigned character typestatic final byteCharacter type Lu -
Method Summary
-
Method Details
-
toString
Gets the name of the argument category- Parameters:
category- to retrieve name- Returns:
- category name
- Status:
- Stable ICU 2.1.
-