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.
|
com.ibm.icu.util |
International calendars and other utility classes.
|
Modifier and Type | Class and Description |
---|---|
class |
RuleBasedCollator
RuleBasedCollator is a concrete subclass of Collator.
|
Modifier and Type | Method and Description |
---|---|
Collator |
Collator.cloneAsThawed()
Provides for the clone operation.
|
Collator |
Collator.CollatorFactory.createCollator(Locale loc)
Return an instance of the appropriate collator.
|
Collator |
Collator.CollatorFactory.createCollator(ULocale loc)
Return an instance of the appropriate collator.
|
Collator |
Collator.freeze()
Freezes the collator.
|
Collator |
RuleBasedCollator.freeze()
Freezes the collator.
|
static Collator |
Collator.getInstance()
Returns the Collator for the current default locale.
|
static Collator |
Collator.getInstance(Locale locale)
Returns the Collator for the desired locale.
|
static Collator |
Collator.getInstance(ULocale locale)
[icu] Returns the Collator for the desired locale.
|
Collator |
Collator.setMaxVariable(int group)
[icu] Sets the variable top to the top of the specified reordering group.
|
Collator |
Collator.setStrength2(int newStrength)
Deprecated.
This API is ICU internal only.
|
Modifier and Type | Method and Description |
---|---|
static Object |
Collator.registerInstance(Collator collator,
ULocale locale)
[icu] Registers a collator as the default collator for the provided locale.
|
Modifier and Type | Method and Description |
---|---|
Collator |
GlobalizationPreferences.getCollator()
Get a copy of the collator according to the settings.
|
protected Collator |
GlobalizationPreferences.guessCollator()
This function can be overridden by subclasses to use different heuristics.
|
Modifier and Type | Method and Description |
---|---|
GlobalizationPreferences |
GlobalizationPreferences.setCollator(Collator collator)
Explicitly set the collator for this object.
|
Copyright © 2016 Unicode, Inc. and others.