java.text.spi
public abstract class CollatorProvider extends LocaleServiceProvider
Since: 1.6
Constructor Summary | |
---|---|
protected | CollatorProvider()
Constructs a new CollatorProvider.
|
Method Summary | |
---|---|
abstract Collator | getInstance(Locale locale)
Returns a java.text.Collator instance
for the specified 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
getAvailableLocales()
See Also: java.text.Collator#getInstance(java.util.Locale)