public static enum CodePointLength.NormalizationStrategy extends Enum<CodePointLength.NormalizationStrategy>
Normalizer,
Normalizer.Form| Enum Constant and Description |
|---|
NFC
Normalization by canonical decomposition, followed by canonical composition.
|
NFD
Normalization by canonical decomposition.
|
NFKC
Normalization by compatibility decomposition, followed by canonical composition.
|
NFKD
Normalization by compatibility decomposition.
|
NONE
No normalization.
|
| Modifier and Type | Method and Description |
|---|---|
CharSequence |
normalize(CharSequence value)
Normalize a specified character sequence.
|
static CodePointLength.NormalizationStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CodePointLength.NormalizationStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CodePointLength.NormalizationStrategy NONE
public static final CodePointLength.NormalizationStrategy NFD
public static final CodePointLength.NormalizationStrategy NFC
public static final CodePointLength.NormalizationStrategy NFKD
public static final CodePointLength.NormalizationStrategy NFKC
public static CodePointLength.NormalizationStrategy[] values()
for (CodePointLength.NormalizationStrategy c : CodePointLength.NormalizationStrategy.values()) System.out.println(c);
public static CodePointLength.NormalizationStrategy valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic CharSequence normalize(CharSequence value)
value - target valueCopyright © 2019 JBoss by Red Hat. All rights reserved.