java.text.spi
Class DecimalFormatSymbolsProvider

java.lang.Object
  extended by java.util.spi.LocaleServiceProvider
      extended by java.text.spi.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  DecimalFormatSymbols getInstance(Locale locale)
          Returns a DecimalFormatSymbols instance for the specified Locale.
 
Methods inherited from class java.util.spi.LocaleServiceProvider
getAvailableLocales
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 LocaleServiceProvider.getAvailableLocales()
See Also:
DecimalFormatSymbols.getInstance(java.util.Locale)