Class UCharacterCategory

  • All Implemented Interfaces:

    public final class UCharacterCategory
    extends java.lang.Object
    implements 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

    • Method Detail

      • toString

        public static java.lang.String toString​(int category)
        Gets the name of the argument category
        category - to retrieve name
        category name