Java java.text Collator fields, constructors, methods, implement or subclass

Example usage for Java java.text Collator fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.text Collator.

The text is from its open source code.

Subclass

java.text.Collator has subclasses.
Click this link to see all its subclasses.

Field

intPRIMARY
Collator strength value.
intSECONDARY
Collator strength value.
intTERTIARY
Collator strength value.
intIDENTICAL
Collator strength value.
intNO_DECOMPOSITION
Decomposition mode value.
intCANONICAL_DECOMPOSITION
Decomposition mode value.
intFULL_DECOMPOSITION
Decomposition mode value.

Method

intcompare(String source, String target)
Compares the source string to the target string according to the collation rules for this Collator.
intcompare(Object o1, Object o2)
Compares its two arguments for order.
booleanequals(String source, String target)
Convenience method for comparing the equality of two strings based on this Collator's collation rules.
Locale[]getAvailableLocales()
Returns an array of all locales for which the getInstance methods of this class can return localized instances.
ClassgetClass()
Returns the runtime class of this Object .
CollationKeygetCollationKey(String source)
Transforms the String into a series of bits that can be compared bitwise to other CollationKeys.
intgetDecomposition()
Get the decomposition mode of this Collator.
CollatorgetInstance(Locale desiredLocale)
Gets the Collator for the desired locale.
CollatorgetInstance()
Gets the Collator for the current default locale.
voidsetDecomposition(int decompositionMode)
Set the decomposition mode of this Collator.
voidsetStrength(int newStrength)
Sets this Collator's strength property.