Package | Description |
---|---|
com.ibm.icu.text |
Extensions and enhancements to java.text to support unicode transforms, UnicodeSet, surrogate char utilities, UCA collation, normalization, break iteration (rule and dictionary based), enhanced number format, international string searching, and arabic shaping.
|
Modifier and Type | Field and Description |
---|---|
static Normalizer.Mode |
Normalizer.COMPOSE
Deprecated.
ICU 2.8. Use Normalier.NFC
|
static Normalizer.Mode |
Normalizer.COMPOSE_COMPAT
Deprecated.
ICU 2.8. Use Normalizer.NFKC
|
static Normalizer.Mode |
Normalizer.DECOMP
Deprecated.
ICU 2.8. Use Normalizer.NFD
|
static Normalizer.Mode |
Normalizer.DECOMP_COMPAT
Deprecated.
ICU 2.8. Use Normalizer.NFKD
|
static Normalizer.Mode |
Normalizer.DEFAULT
Default normalization.
|
static Normalizer.Mode |
Normalizer.FCD
"Fast C or D" form.
|
static Normalizer.Mode |
Normalizer.NFC
Canonical decomposition followed by canonical composition.
|
static Normalizer.Mode |
Normalizer.NFD
Canonical decomposition.
|
static Normalizer.Mode |
Normalizer.NFKC
Compatibility decomposition followed by canonical composition.
|
static Normalizer.Mode |
Normalizer.NFKD
Compatibility decomposition.
|
static Normalizer.Mode |
Normalizer.NO_OP
Deprecated.
ICU 2.8. Use Nomalizer.NONE
|
static Normalizer.Mode |
Normalizer.NONE
No decomposition/composition.
|
Modifier and Type | Method and Description |
---|---|
Normalizer.Mode |
Normalizer.getMode()
Return the basic operation performed by this Normalizer
|
Modifier and Type | Method and Description |
---|---|
static String |
Normalizer.concatenate(char[] left,
char[] right,
Normalizer.Mode mode,
int options)
Concatenate normalized strings, making sure that the result is normalized
as well.
|
static int |
Normalizer.concatenate(char[] left,
int leftStart,
int leftLimit,
char[] right,
int rightStart,
int rightLimit,
char[] dest,
int destStart,
int destLimit,
Normalizer.Mode mode,
int options)
Concatenate normalized strings, making sure that the result is normalized
as well.
|
static String |
Normalizer.concatenate(String left,
String right,
Normalizer.Mode mode,
int options)
Concatenate normalized strings, making sure that the result is normalized
as well.
|
static boolean |
Normalizer.isNormalized(char[] src,
int start,
int limit,
Normalizer.Mode mode,
int options)
Test if a string is in a given normalization form.
|
static boolean |
Normalizer.isNormalized(int char32,
Normalizer.Mode mode,
int options)
Convenience Method
|
static boolean |
Normalizer.isNormalized(String str,
Normalizer.Mode mode,
int options)
Test if a string is in a given normalization form.
|
static int |
Normalizer.normalize(char[] source,
char[] target,
Normalizer.Mode mode,
int options)
Normalize a string.
|
static int |
Normalizer.normalize(char[] src,
int srcStart,
int srcLimit,
char[] dest,
int destStart,
int destLimit,
Normalizer.Mode mode,
int options)
Normalize a string.
|
static String |
Normalizer.normalize(int char32,
Normalizer.Mode mode)
Convenience method to normalize a codepoint according to the given mode
|
static String |
Normalizer.normalize(int char32,
Normalizer.Mode mode,
int options)
Normalize a codepoint according to the given mode
|
static String |
Normalizer.normalize(String src,
Normalizer.Mode mode)
Normalize a string.
|
static String |
Normalizer.normalize(String str,
Normalizer.Mode mode,
int options)
Normalizes a String using the given normalization operation.
|
static Normalizer.QuickCheckResult |
Normalizer.quickCheck(char[] source,
int start,
int limit,
Normalizer.Mode mode,
int options)
Performing quick check on a string, to quickly determine if the string is
in a particular normalization format.
|
static Normalizer.QuickCheckResult |
Normalizer.quickCheck(char[] source,
Normalizer.Mode mode,
int options)
Convenience method.
|
static Normalizer.QuickCheckResult |
Normalizer.quickCheck(String source,
Normalizer.Mode mode)
Convenience method.
|
static Normalizer.QuickCheckResult |
Normalizer.quickCheck(String source,
Normalizer.Mode mode,
int options)
Performing quick check on a string, to quickly determine if the string is
in a particular normalization format.
|
void |
Normalizer.setMode(Normalizer.Mode newMode)
Set the normalization mode for this object.
|
Constructor and Description |
---|
Normalizer(CharacterIterator iter,
Normalizer.Mode mode,
int opt)
Creates a new Normalizer object for iterating over the
normalized form of the given text.
|
Normalizer(String str,
Normalizer.Mode mode,
int opt)
Creates a new Normalizer object for iterating over the
normalized form of a given string.
|
Normalizer(UCharacterIterator iter,
Normalizer.Mode mode,
int options)
Creates a new Normalizer object for iterating over the
normalized form of the given text.
|
Copyright (c) 2014 IBM Corporation and others.