| java.lang.Object sun.text.Normalizer
Normalizer | final public class Normalizer (Code) | | This Normalizer is for Unicode 3.2 support for IDNA only.
Developers should not use this class.
|
Field Summary | |
final public static int | UNICODE_3_2 Option to select Unicode 3.2 (without corrigendum 4 corrections) for
normalization. |
Method Summary | |
final public static int | getCombiningClass(int ch) | public static boolean | isNormalized(CharSequence src, java.text.Normalizer.Form form, int option) Determines if the given sequence of char values is normalized. | public static String | normalize(CharSequence src, java.text.Normalizer.Form form, int option) Normalize a sequence of char values. |
UNICODE_3_2 | final public static int UNICODE_3_2(Code) | | Option to select Unicode 3.2 (without corrigendum 4 corrections) for
normalization.
|
getCombiningClass | final public static int getCombiningClass(int ch)(Code) | | Returns the combining class of the given character
Parameters: ch - character to retrieve combining class of combining class of the given character |
isNormalized | public static boolean isNormalized(CharSequence src, java.text.Normalizer.Form form, int option)(Code) | | Determines if the given sequence of char values is normalized.
Parameters: src - The sequence of char values to be checked. Parameters: form - The normalization form; one ofjava.text.Normalizer.Form.NFC,java.text.Normalizer.Form.NFD,java.text.Normalizer.Form.NFKC,java.text.Normalizer.Form.NFKD Parameters: option - The normalization option;sun.text.Normalizer.UNICODE_3_2 true if the sequence of char values is normalized;false otherwise. throws: NullPointerException - If src or form is null. |
normalize | public static String normalize(CharSequence src, java.text.Normalizer.Form form, int option)(Code) | | Normalize a sequence of char values.
The sequence will be normalized according to the specified normalization
from.
Parameters: src - The sequence of char values to normalize. Parameters: form - The normalization form; one ofjava.text.Normalizer.Form.NFC,java.text.Normalizer.Form.NFD,java.text.Normalizer.Form.NFKC,java.text.Normalizer.Form.NFKD Parameters: option - The normalization option;sun.text.Normalizer.UNICODE_3_2 The normalized String throws: NullPointerException - If src or form is null. |
|
|