java.text.spi
public abstract class CollatorProvider extends LocaleServiceProvider
Since: 1.6
Constructor Summary | |
---|---|
protected | CollatorProvider()
Constructs a new {@link CollatorProvider}.
|
Method Summary | |
---|---|
abstract Collator | getInstance(Locale locale)
Returns a {@link java.text.Collator} instance
for the specified {@link java.util.Locale}.
|
Parameters: locale the desired locale.
Returns: the localized instance.
Throws: NullPointerException if the locale is null. IllegalArgumentException if the locale is not one returned by {@link getAvailableLocales()}
See Also: getInstance