public abstract Collator getInstance (Locale locale)

Returns a new Collator instance for the specified locale.

Parameters:
locale    the desired locale.

Returns:  the Collator for the desired locale.

Exceptions:
NullPointerException    if locale is null
IllegalArgumentException    if locale isn't one of the locales returned from java.util.spi.LocaleServiceProvider.getAvailableLocales().

See also:
java.text.Collator.getInstance(java.util.Locale)