java.text.spi
public abstract class CollatorProvider extends LocaleServiceProvider
Constructor Summary | |
---|---|
protected | CollatorProvider()
Constructs a new CollatorProvider.
|
Method Summary | |
---|---|
abstract Collator | getInstance(Locale 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: getInstance