APIdia Launch Partner
Top Description Inners Fields Constructors Methods
jdk.internal.icu.text

public final Class NormalizerBase

extends Object
implements Cloneable
Class Inheritance
All Implemented Interfaces
java.lang.Cloneable
Imports
jdk.internal.icu.impl.Norm2AllModes, java.text.CharacterIterator, .Normalizer

Unicode Normalization

Unicode normalization API

normalize transforms Unicode text into an equivalent composed or decomposed form, allowing for easier sorting and searching of text. normalize supports the standard normalization forms described in Unicode Standard Annex #15 — Unicode Normalization Forms. Characters with accents or other adornments can be encoded in several different ways in Unicode. For example, take the character A-acute. In Unicode, this can be encoded as a single character (the "composed" form):
     00C1    LATIN CAPITAL LETTER A WITH ACUTE
or as two separate characters (the "decomposed" form):
     0041    LATIN CAPITAL LETTER A
     0301    COMBINING ACUTE ACCENT
To a user of your program, however, both of these sequences should be treated as the same "user-level" character "A with acute accent". When you are searching or comparing text, you must ensure that these two sequences are treated equivalently. In addition, you must handle characters with more than one accent. Sometimes the order of a character's combining accents is significant, while in other cases accent sequences in different orders are really equivalent. Similarly, the string "ffi" can be encoded as three separate letters:
     0066    LATIN SMALL LETTER F
     0066    LATIN SMALL LETTER F
     0069    LATIN SMALL LETTER I
or as the single character
     FB03    LATIN SMALL LIGATURE FFI
The ffi ligature is not a distinct semantic character, and strictly speaking it shouldn't be in Unicode at all, but it was included for compatibility with existing character sets that already provided it. The Unicode standard identifies such characters by giving them "compatibility" decompositions into the corresponding semantic characters. When sorting and searching, you will often want to use these mappings. normalize helps solve these problems by transforming text into the canonical composed and decomposed forms as shown in the first example above. In addition, you can have it perform compatibility decompositions so that you can treat compatibility characters the same as their equivalents. Finally, normalize rearranges accents into the proper canonical order, so that you do not have to worry about accent rearrangement on your own. Form FCD, "Fast C or D", is also designed for collation. It allows to work on strings that are not necessarily normalized with an algorithm (like in collation) that works under "canonical closure", i.e., it treats precomposed characters and their decomposed equivalents the same. It is not a normalization form because it does not provide for uniqueness of representation. Multiple strings may be canonically equivalent (their NFDs are identical) and may all conform to FCD without being identical themselves. The form is defined such that the "raw decomposition", the recursive canonical decomposition of each character, results in a string that is canonically ordered. This means that precomposed characters are allowed for as long as their decompositions do not need canonical reordering. Its advantage for a process like collation is that all NFD and most NFC texts - and many unnormalized texts - already conform to FCD and do not need to be normalized (NFD) for such a process. The FCD quick check will return YES for most strings in practice. normalize(FCD) may be implemented with NFD. For more details on FCD see Unicode Technical Note #5 (Canonical Equivalence in Applications): http://www.unicode.org/notes/tn5/#FCD ICU collation performs either NFD or FCD normalization automatically if normalization is turned on for the collator object. Beyond collation and string search, normalized strings may be useful for string equivalence comparisons, transliteration/transcription, unique representations, etc. The W3C generally recommends to exchange texts in NFC. Note also that most legacy character encodings use only precomposed forms and often do not encode any combining marks by themselves. For conversion to such character encodings the Unicode text needs to be normalized to NFC. For more usage examples, see the Unicode Standard Annex.

Note

The Normalizer class also provides API for iterative normalization. While the setIndex() and getIndex() refer to indices in the underlying Unicode input text, the next() and previous() methods iterate through characters in the normalized output. This means that there is not necessarily a one-to-one correspondence between characters returned by next() and previous() and the indices passed to and returned from setIndex() and getIndex(). It is for this reason that Normalizer does not implement the CharacterIterator interface.

ICU Status
Stable since ICU 2.8.

Nested and Inner Type Summary

Modifier and TypeClass and Description
public abstract static class
NormalizerBase.Mode

Constants for normalization modes.

private static class
private static class
private static class
private static class
private static class
private static class
private static class
private static class
private static class
private static class
private static class
private static class
private static class
private static class
private static class

Field Summary

Modifier and TypeField and Description
private StringBuilder
private int
private int
public static final int
DONE

Constant indicating that the end of the iteration has been reached.

private NormalizerBase.Mode
private int
public static final NormalizerBase.Mode
NFC

Canonical decomposition followed by canonical composition.

public static final NormalizerBase.Mode
NFD

Canonical decomposition.

public static final NormalizerBase.Mode
public static final NormalizerBase.Mode
NFKD

Compatibility decomposition.

public static final NormalizerBase.Mode
NONE

No decomposition/composition.

private Normalizer2
private int
private UCharacterIterator
public static final int
UNICODE_3_2

Options bit set value to select Unicode 3.2 normalization (except NormalizationCorrections).

public static final int
public static final int

Constructor Summary

AccessConstructor and Description
public
NormalizerBase(String
The string to be normalized. The normalization will start at the beginning of the string.
str
,
NormalizerBase.Mode
The normalization mode.
mode
,
int
Any optional features to be enabled. Currently the only available option is UNICODE_3_2. If you want the default behavior corresponding to one of the standard Unicode Normalization Forms, use 0 for this argument.
opt
)

Creates a new NormalizerBase object for iterating over the normalized form of a given string.

public
public
NormalizerBase(CharacterIterator
The input text to be normalized. The normalization will start at the beginning of the string.
iter
,
NormalizerBase.Mode
The normalization mode.
mode
,
int
Any optional features to be enabled. Currently the only available option is UNICODE_3_2. If you want the default behavior corresponding to one of the standard Unicode Normalization Forms, use 0 for this argument.
opt
)

Creates a new NormalizerBase object for iterating over the normalized form of the given text.

public

Method Summary

Modifier and TypeMethod and Description
private void
public NormalizerBase
clone()

Overrides java.lang.Object.clone.

Clones this NormalizerBase object.

public int

Returns:

The codepoint as an int
current
()

Return the current character in the normalized text.

public int

Returns:

The current iteration position
endIndex
()

Retrieve the index of the end of the input text.

public int

Returns:

The codepoint as an int
getBeginIndex
()
Deprecated ICU 2.2. Use startIndex() instead.

Retrieve the index of the start of the input text.

public int

Returns:

The codepoint as an int
getEndIndex
()
Deprecated ICU 2.2. Use endIndex() instead.

Retrieve the index of the end of the input text.

public int

Returns:

The current iteration position
getIndex
()

Retrieve the current iteration position in the input text that is being normalized.

public NormalizerBase.Mode
getMode()

Return the basic operation performed by this NormalizerBase

public static boolean
isNormalized(String
the input string to be checked to see if it is normalized
str
,
NormalizerBase.Mode
the normalization mode
mode
,
int
Options for use with exclusion set and tailored Normalization The only option that is currently recognized is UNICODE_3_2
options
)

Test if a string is in a given normalization form.

public static boolean
public static boolean
isNormalized(String str, Normalizer.Form form, int options)

public int

Returns:

The codepoint as an int
next
()

Return the next character in the normalized text and advance the iteration position by one.

private boolean
public static String

Returns:

String the normalized string
normalize
(String
the input string to be normalized.
str
,
NormalizerBase.Mode
the normalization mode
mode
,
int
the optional features to be enabled.
options
)

Normalizes a String using the given normalization operation.

public static String
public static String
normalize(String str, Normalizer.Form form, int options)

public int

Returns:

The codepoint as an int
previous
()

Return the previous character in the normalized text and decrement the iteration position by one.

private boolean
public void
reset()

Reset the index to the beginning of the text.

public int

Returns:

the first normalized character that is the result of iterating forward starting at the given index.
setIndex
(int
the desired index in the input text.
index
)

Set the iteration position in the input text that is being normalized and return the first normalized character at that position.

public void
setIndexOnly(int
the desired index in the input text.
index
)

Set the iteration position in the input text that is being normalized, without any immediate normalization.

public void
setMode(NormalizerBase.Mode
the new mode for this NormalizerBase. The supported modes are:
  • NFC - Unicode canonical decompositiion followed by canonical composition.
  • NFKC - Unicode compatibility decompositiion follwed by canonical composition.
  • NFD - Unicode canonical decomposition
  • NFKD - Unicode compatibility decomposition.
  • NONE - Do nothing but return characters from the underlying input text.
newMode
)

Set the normalization mode for this object.

public void
setText(String
The new string to be normalized.
newText
)

Set the input text over which this NormalizerBase will iterate.

public void
setText(CharacterIterator
The new string to be normalized.
newText
)

Set the input text over which this NormalizerBase will iterate.

private static NormalizerBase.Mode
Inherited from java.lang.Object:
equalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

bufferback to summary
private StringBuilder buffer
bufferPosback to summary
private int bufferPos
currentIndexback to summary
private int currentIndex
DONEback to summary
public static final int DONE

Constant indicating that the end of the iteration has been reached. This is guaranteed to have the same value as UCharacterIterator#DONE.

ICU Status
Stable since ICU 2.8.
modeback to summary
private NormalizerBase.Mode mode
nextIndexback to summary
private int nextIndex
NFCback to summary
public static final NormalizerBase.Mode NFC

Canonical decomposition followed by canonical composition.

ICU Status
Stable since ICU 2.8.
NFDback to summary
public static final NormalizerBase.Mode NFD

Canonical decomposition.

ICU Status
Stable since ICU 2.8.
NFKCback to summary
public static final NormalizerBase.Mode NFKC
NFKDback to summary
public static final NormalizerBase.Mode NFKD

Compatibility decomposition.

ICU Status
Stable since ICU 2.8.
NONEback to summary
public static final NormalizerBase.Mode NONE

No decomposition/composition.

ICU Status
Stable since ICU 2.8.
norm2back to summary
private Normalizer2 norm2
optionsback to summary
private int options
textback to summary
private UCharacterIterator text
UNICODE_3_2back to summary
public static final int UNICODE_3_2

Options bit set value to select Unicode 3.2 normalization (except NormalizationCorrections). At most one Unicode version can be selected at a time.

ICU Status
Stable since ICU 2.6.
UNICODE_3_2_0_ORIGINALback to summary
public static final int UNICODE_3_2_0_ORIGINAL
UNICODE_LATESTback to summary
public static final int UNICODE_LATEST

Constructor Detail

NormalizerBaseback to summary
public NormalizerBase(String str, NormalizerBase.Mode mode, int opt)

Creates a new NormalizerBase object for iterating over the normalized form of a given string.

The options parameter specifies which optional NormalizerBase features are to be enabled for this object.

Parameters
str:String

The string to be normalized. The normalization will start at the beginning of the string.

mode:NormalizerBase.Mode

The normalization mode.

opt:int

Any optional features to be enabled. Currently the only available option is UNICODE_3_2. If you want the default behavior corresponding to one of the standard Unicode Normalization Forms, use 0 for this argument.

ICU Status
Stable since ICU 2.6.
NormalizerBaseback to summary
public NormalizerBase(String str, NormalizerBase.Mode mode)
NormalizerBaseback to summary
public NormalizerBase(CharacterIterator iter, NormalizerBase.Mode mode, int opt)

Creates a new NormalizerBase object for iterating over the normalized form of the given text.

Parameters
iter:CharacterIterator

The input text to be normalized. The normalization will start at the beginning of the string.

mode:NormalizerBase.Mode

The normalization mode.

opt:int

Any optional features to be enabled. Currently the only available option is UNICODE_3_2. If you want the default behavior corresponding to one of the standard Unicode Normalization Forms, use 0 for this argument.

ICU Status
Stable since ICU 2.6.
NormalizerBaseback to summary
public NormalizerBase(CharacterIterator iter, NormalizerBase.Mode mode)

Method Detail

clearBufferback to summary
private void clearBuffer()
cloneback to summary
public NormalizerBase clone()

Overrides java.lang.Object.clone.

Clones this NormalizerBase object. All properties of this object are duplicated in the new object, including the cloning of any CharacterIterator that was passed in to the constructor or to setText. However, the text storage underlying the CharacterIterator is not duplicated unless the iterator's clone method does so.

ICU Status
Stable since ICU 2.8.
currentback to summary
public int current()

Return the current character in the normalized text.

Returns:int

The codepoint as an int

ICU Status
Stable since ICU 2.8.
endIndexback to summary
public int endIndex()

Retrieve the index of the end of the input text. This is the end index of the CharacterIterator or the length of the String over which this NormalizerBase is iterating

Returns:int

The current iteration position

ICU Status
Stable since ICU 2.8.
getBeginIndexback to summary
public int getBeginIndex()

Deprecated

ICU 2.2. Use startIndex() instead.

Retrieve the index of the start of the input text. This is the begin index of the CharacterIterator or the start (i.e. 0) of the String over which this NormalizerBase is iterating

Returns:int

The codepoint as an int

Annotations
@Deprecated
See Also
startIndex
getEndIndexback to summary
public int getEndIndex()

Deprecated

ICU 2.2. Use endIndex() instead.

Retrieve the index of the end of the input text. This is the end index of the CharacterIterator or the length of the String over which this NormalizerBase is iterating

Returns:int

The codepoint as an int

Annotations
@Deprecated
See Also
endIndex
getIndexback to summary
public int getIndex()

Retrieve the current iteration position in the input text that is being normalized. This method is useful in applications such as searching, where you need to be able to determine the position in the input text that corresponds to a given normalized output character.

Note

This method sets the position in the input, while next and previous iterate through characters in the output. This means that there is not necessarily a one-to-one correspondence between characters returned by next and previous and the indices passed to and returned from setIndex and getIndex.

Returns:int

The current iteration position

ICU Status
Stable since ICU 2.8.
getModeback to summary
public NormalizerBase.Mode getMode()

Return the basic operation performed by this NormalizerBase

ICU Status
Stable since ICU 2.8.
See Also
setMode
isNormalizedback to summary
public static boolean isNormalized(String str, NormalizerBase.Mode mode, int options)

Test if a string is in a given normalization form. This is semantically equivalent to source.equals(normalize(source, mode)). Unlike quickCheck(), this function returns a definitive result, never a "maybe". For NFD, NFKD, and FCD, both functions work exactly the same. For NFC and NFKC where quickCheck may return "maybe", this function will perform further tests to arrive at a true/false result.

Parameters
str:String

the input string to be checked to see if it is normalized

mode:NormalizerBase.Mode

the normalization mode

options:int

Options for use with exclusion set and tailored Normalization The only option that is currently recognized is UNICODE_3_2

ICU Status
Stable since ICU 2.6.
See Also
isNormalized
isNormalizedback to summary
public static boolean isNormalized(String str, Normalizer.Form form)
isNormalizedback to summary
public static boolean isNormalized(String str, Normalizer.Form form, int options)
nextback to summary
public int next()

Return the next character in the normalized text and advance the iteration position by one. If the end of the text has already been reached, DONE is returned.

Returns:int

The codepoint as an int

ICU Status
Stable since ICU 2.8.
nextNormalizeback to summary
private boolean nextNormalize()
normalizeback to summary
public static String normalize(String str, NormalizerBase.Mode mode, int options)

Normalizes a String using the given normalization operation.

The options parameter specifies which optional NormalizerBase features are to be enabled for this operation. Currently the only available option is UNICODE_3_2. If you want the default behavior corresponding to one of the standard Unicode Normalization Forms, use 0 for this argument.

Parameters
str:String

the input string to be normalized.

mode:NormalizerBase.Mode

the normalization mode

options:int

the optional features to be enabled.

Returns:String

String the normalized string

ICU Status
Stable since ICU 2.6.
normalizeback to summary
public static String normalize(String str, Normalizer.Form form)
normalizeback to summary
public static String normalize(String str, Normalizer.Form form, int options)
previousback to summary
public int previous()

Return the previous character in the normalized text and decrement the iteration position by one. If the beginning of the text has already been reached, DONE is returned.

Returns:int

The codepoint as an int

ICU Status
Stable since ICU 2.8.
previousNormalizeback to summary
private boolean previousNormalize()
resetback to summary
public void reset()

Reset the index to the beginning of the text. This is equivalent to setIndexOnly(startIndex)).

ICU Status
Stable since ICU 2.8.
setIndexback to summary
public int setIndex(int index)

Set the iteration position in the input text that is being normalized and return the first normalized character at that position.

Note

This method sets the position in the input text, while next and previous iterate through characters in the normalized output. This means that there is not necessarily a one-to-one correspondence between characters returned by next and previous and the indices passed to and returned from setIndex and getIndex.

Parameters
index:int

the desired index in the input text.

Returns:int

the first normalized character that is the result of iterating forward starting at the given index.

Exceptions
IllegalArgumentException:
if the given index is less than getBeginIndex or greater than getEndIndex. deprecated ICU 3.2
ICU Status
Obsolete since ICU 3.2.
setIndexOnlyback to summary
public void setIndexOnly(int index)

Set the iteration position in the input text that is being normalized, without any immediate normalization. After setIndexOnly(), getIndex() will return the same index that is specified here.

Parameters
index:int

the desired index in the input text.

ICU Status
Stable since ICU 2.8.
setModeback to summary
public void setMode(NormalizerBase.Mode newMode)

Set the normalization mode for this object.

Note

If the normalization mode is changed while iterating over a string, calls to next and previous may return previously buffers characters in the old normalization mode until the iteration is able to re-sync at the next base character. It is safest to call setText(), first, last, etc. after calling setMode.

Parameters
newMode:NormalizerBase.Mode

the new mode for this NormalizerBase. The supported modes are:

  • NFC - Unicode canonical decompositiion followed by canonical composition.
  • NFKC - Unicode compatibility decompositiion follwed by canonical composition.
  • NFD - Unicode canonical decomposition
  • NFKD - Unicode compatibility decomposition.
  • NONE - Do nothing but return characters from the underlying input text.
ICU Status
Stable since ICU 2.8.
See Also
getMode
setTextback to summary
public void setText(String newText)

Set the input text over which this NormalizerBase will iterate. The iteration position is set to the beginning of the input text.

Parameters
newText:String

The new string to be normalized.

ICU Status
Stable since ICU 2.8.
setTextback to summary
public void setText(CharacterIterator newText)

Set the input text over which this NormalizerBase will iterate. The iteration position is set to the beginning of the input text.

Parameters
newText:CharacterIterator

The new string to be normalized.

ICU Status
Stable since ICU 2.8.
toModeback to summary
private static NormalizerBase.Mode toMode(Normalizer.Form form)
jdk.internal.icu.text back to summary

public abstract Class NormalizerBase.Mode

extends Object
Class Inheritance
Known Direct Subclasses
jdk.internal.icu.text.NormalizerBase.NONEMode, jdk.internal.icu.text.NormalizerBase.NFDMode, jdk.internal.icu.text.NormalizerBase.NFKDMode, jdk.internal.icu.text.NormalizerBase.NFCMode, jdk.internal.icu.text.NormalizerBase.NFKCMode

Constants for normalization modes.

The Mode class is not intended for public subclassing. Only the Mode constants provided by the Normalizer class should be used, and any fields or methods should not be called or overridden by users.

ICU Status
Stable since ICU 2.8.

Constructor Summary

AccessConstructor and Description
protected
Mode()
Deprecated This API is ICU internal only.

Sole constructor

Method Summary

Modifier and TypeMethod and Description
protected abstract Normalizer2
getNormalizer2(int options)
Deprecated This API is ICU internal only.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

Modeback to summary
protected Mode()

Deprecated

This API is ICU internal only.

Sole constructor

Annotations
@Deprecated
ICU Status
Internal ICU component.

Method Detail

getNormalizer2back to summary
protected abstract Normalizer2 getNormalizer2(int options)

Deprecated

This API is ICU internal only.

Annotations
@Deprecated
ICU Status
Internal ICU component.
jdk.internal.icu.text back to summary

private final Class NormalizerBase.ModeImpl

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final Normalizer2

Constructor Summary

AccessConstructor and Description
private

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

normalizer2back to summary
private final Normalizer2 normalizer2

Constructor Detail

ModeImplback to summary
private ModeImpl(Normalizer2 n2)
jdk.internal.icu.text back to summary

private final Class NormalizerBase.NFC32ModeImpl

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
private static final NormalizerBase.ModeImpl

Constructor Summary

AccessConstructor and Description
private

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

INSTANCEback to summary
private static final NormalizerBase.ModeImpl INSTANCE

Constructor Detail

NFC32ModeImplback to summary
private NFC32ModeImpl()
jdk.internal.icu.text back to summary

private final Class NormalizerBase.NFCMode

extends Mode
Class Inheritance

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
protected Normalizer2

Constructor Detail

NFCModeback to summary
private NFCMode()

Method Detail

getNormalizer2back to summary
protected Normalizer2 getNormalizer2(int options)

Implements abstract jdk.internal.icu.text.NormalizerBase.Mode.getNormalizer2.

jdk.internal.icu.text back to summary

private final Class NormalizerBase.NFCModeImpl

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
private static final NormalizerBase.ModeImpl

Constructor Summary

AccessConstructor and Description
private

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

INSTANCEback to summary
private static final NormalizerBase.ModeImpl INSTANCE

Constructor Detail

NFCModeImplback to summary
private NFCModeImpl()
jdk.internal.icu.text back to summary

private final Class NormalizerBase.NFD32ModeImpl

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
private static final NormalizerBase.ModeImpl

Constructor Summary

AccessConstructor and Description
private

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

INSTANCEback to summary
private static final NormalizerBase.ModeImpl INSTANCE

Constructor Detail

NFD32ModeImplback to summary
private NFD32ModeImpl()
jdk.internal.icu.text back to summary

private final Class NormalizerBase.NFDMode

extends Mode
Class Inheritance

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
protected Normalizer2

Constructor Detail

NFDModeback to summary
private NFDMode()

Method Detail

getNormalizer2back to summary
protected Normalizer2 getNormalizer2(int options)

Implements abstract jdk.internal.icu.text.NormalizerBase.Mode.getNormalizer2.

jdk.internal.icu.text back to summary

private final Class NormalizerBase.NFDModeImpl

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
private static final NormalizerBase.ModeImpl

Constructor Summary

AccessConstructor and Description
private

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

INSTANCEback to summary
private static final NormalizerBase.ModeImpl INSTANCE

Constructor Detail

NFDModeImplback to summary
private NFDModeImpl()
jdk.internal.icu.text back to summary

private final Class NormalizerBase.NFKC32ModeImpl

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
private static final NormalizerBase.ModeImpl

Constructor Summary

AccessConstructor and Description
private

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

INSTANCEback to summary
private static final NormalizerBase.ModeImpl INSTANCE

Constructor Detail

NFKC32ModeImplback to summary
private NFKC32ModeImpl()
jdk.internal.icu.text back to summary

private final Class NormalizerBase.NFKCMode

extends Mode
Class Inheritance

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
protected Normalizer2

Constructor Detail

NFKCModeback to summary
private NFKCMode()

Method Detail

getNormalizer2back to summary
protected Normalizer2 getNormalizer2(int options)

Implements abstract jdk.internal.icu.text.NormalizerBase.Mode.getNormalizer2.

jdk.internal.icu.text back to summary

private final Class NormalizerBase.NFKCModeImpl

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
private static final NormalizerBase.ModeImpl

Constructor Summary

AccessConstructor and Description
private

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

INSTANCEback to summary
private static final NormalizerBase.ModeImpl INSTANCE

Constructor Detail

NFKCModeImplback to summary
private NFKCModeImpl()
jdk.internal.icu.text back to summary

private final Class NormalizerBase.NFKD32ModeImpl

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
private static final NormalizerBase.ModeImpl

Constructor Summary

AccessConstructor and Description
private

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

INSTANCEback to summary
private static final NormalizerBase.ModeImpl INSTANCE

Constructor Detail

NFKD32ModeImplback to summary
private NFKD32ModeImpl()
jdk.internal.icu.text back to summary

private final Class NormalizerBase.NFKDMode

extends Mode
Class Inheritance

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
protected Normalizer2

Constructor Detail

NFKDModeback to summary
private NFKDMode()

Method Detail

getNormalizer2back to summary
protected Normalizer2 getNormalizer2(int options)

Implements abstract jdk.internal.icu.text.NormalizerBase.Mode.getNormalizer2.

jdk.internal.icu.text back to summary

private final Class NormalizerBase.NFKDModeImpl

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
private static final NormalizerBase.ModeImpl

Constructor Summary

AccessConstructor and Description
private

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

INSTANCEback to summary
private static final NormalizerBase.ModeImpl INSTANCE

Constructor Detail

NFKDModeImplback to summary
private NFKDModeImpl()
jdk.internal.icu.text back to summary

private final Class NormalizerBase.NONEMode

extends Mode
Class Inheritance

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
protected Normalizer2

Constructor Detail

NONEModeback to summary
private NONEMode()

Method Detail

getNormalizer2back to summary
protected Normalizer2 getNormalizer2(int options)

Implements abstract jdk.internal.icu.text.NormalizerBase.Mode.getNormalizer2.

jdk.internal.icu.text back to summary

private final Class NormalizerBase.Unicode32

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
private static final UnicodeSet

Constructor Summary

AccessConstructor and Description
private

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

INSTANCEback to summary
private static final UnicodeSet INSTANCE

Constructor Detail

Unicode32back to summary
private Unicode32()