java.text.spi

Class DecimalFormatSymbolsProvider

public abstract class DecimalFormatSymbolsProvider extends LocaleServiceProvider

A DecimalFormatSymbolsProvider provides localized instances of DecimalFormatSymbols.

Since: 1.6

Constructor Summary
protected DecimalFormatSymbolsProvider()
Constructs a new DecimalFormatSymbolsProvider.
Method Summary
abstract DecimalFormatSymbolsgetInstance(Locale locale)
Returns a DecimalFormatSymbols instance for the specified Locale.

Constructor Detail

DecimalFormatSymbolsProvider

protected DecimalFormatSymbolsProvider()
Constructs a new DecimalFormatSymbolsProvider. Provided for implicit invocation by subclasses.

Method Detail

getInstance

public abstract DecimalFormatSymbols getInstance(Locale locale)
Returns a DecimalFormatSymbols instance for the specified Locale.

Parameters: locale the locale to express the symbols in.

Returns: the localized instance.

Throws: NullPointerException if the locale is null. IllegalArgumentException if the locale is not one returned by getAvailableLocales()

See Also: getInstance