public interface

UProperty

sun.text.normalizer.UProperty

Class Overview

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.

See Also
  • com.ibm.icu.lang.UCharacter

Summary

Constants
int GENERAL_CATEGORY_MASK Bitmask property General_Category_Mask.
int HANGUL_SYLLABLE_TYPE Enumerated property Hangul_Syllable_Type, new in Unicode 4.

Constants

public static final int GENERAL_CATEGORY_MASK

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".

Constant Value: 8192 (0x00002000)

public static final int HANGUL_SYLLABLE_TYPE

Enumerated property Hangul_Syllable_Type, new in Unicode 4. Returns HangulSyllableType values.

Constant Value: 4107 (0x0000100b)