com.ibm.text
Class UCharacter

java.lang.Object
  |
  +--com.ibm.text.UCharacter

public final class UCharacter
extends java.lang.Object

The UCharacter class provides extensions to the java.lang.Character class. These extensions provide support for Unicode 3.1 properties and together with the UTF16 class, provide support for supplementary characters (those with code points above U+FFFF).

Code points are represented in these API using ints. While it would be more convenient in Java to have a separate primitive datatype for them, ints suffice in the meantime.

To use this class please add the jar file name icu4j.jar to the class path, since it contains data files which supply the information used by this file.
E.g. In Windows
set CLASSPATH=%CLASSPATH%;$JAR_FILE_PATH/ucharacter.jar.
Otherwise, another method would be to copy the files uprops.dat and unames.dat from the icu4j source subdirectory $ICU4J_SRC/src/com/ibm/text/resources to your class directory $ICU4J_CLASS/com/ibm/text/resources.

For more information about the data file format, please refer to Read Me.

Aside from the additions for UTF-16 support, and the updated Unicode 3.1 properties, the main differences between UCharacter and Character are: