Collator.getInstance

Collator.getInstance

Class Overview | Class Members | This Package | All Packages

Syntax 1
public static synchronized Collator getInstance()
Returns
the Collator for the default locale.(for example, en_US)
Description
Gets the Collator for the current default locale. The default locale is determined by java.util.Locale.getDefault.

See Also
getDefault



Syntax 2
public static synchronized Collator getInstance( Locale desiredLocale )
Parameters
desiredLocale
the desired locale.
Returns
the Collator for the desired locale.
Description
Gets the Collator for the desired locale.

See Also
Locale, ResourceBundle