java.text.spi
Class DecimalFormatSymbolsProvider
java.lang.Object
java.util.spi.LocaleServiceProvider
java.text.spi.DecimalFormatSymbolsProvider
public abstract class DecimalFormatSymbolsProvider
- extends LocaleServiceProvider
A DecimalFormatSymbolsProvider
provides localized
instances of DecimalFormatSymbols
.
- Since:
- 1.6
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DecimalFormatSymbolsProvider
protected DecimalFormatSymbolsProvider()
- Constructs a new
DecimalFormatSymbolsProvider
.
Provided for implicit invocation by subclasses.
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)