com.upokecenter.text.Normalizer

com.upokecenter.text.Normalizer

@Deprecated public final class Normalizer extends Object

Implements the Unicode normalization algorithm and contains methods and functionality to test and convert Unicode strings for Unicode normalization.

NOTICE: While this class's source code is in the public domain, the class uses an class, called NormalizationData, that includes data derived from the Unicode Character Database. See the documentation for the NormalizerInput class for the permission notice for the Unicode Character Database.

Constructors

Methods

Method Details

Normalize

public static String Normalize(String str, Normalization form)

Converts a string to the given Unicode normalization form.

Parameters:

Returns:

Throws:

IsNormalized

public static boolean IsNormalized(String str, Normalization form)

Returns whether this string is normalized.

Parameters:

Returns:

ReadChar

public int ReadChar()

Reads a Unicode character from a data source.

Returns:

Read

public int Read(int[] chars, int index, int length)

Reads a sequence of Unicode code points from a data source.

Parameters:

Returns:

Throws:

Back to MailLib start page.