Package com.ibm.icu.lang
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
-
Field Summary
Fields inherited from interface com.ibm.icu.lang.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_LETTER
-
Method Summary
-
Method Details
-
toString
Gets the name of the argument category- Parameters:
category
- to retrieve name- Returns:
- category name
-