public class DefaultAmountFormatSymbolsProviderSpi
extends java.lang.Object
implements javax.money.spi.AmountFormatSymbolsProviderSpi
AmountFormatSymbolsProviderSpi
providing the
symbols as defined by DecimalFormatSymbols
.Constructor and Description |
---|
DefaultAmountFormatSymbolsProviderSpi() |
Modifier and Type | Method and Description |
---|---|
javax.money.format.AmountFormatSymbols |
getAmountFormatSymbols(java.util.Locale locale)
Create a new
AmountFormatSymbols for the given Locale . |
java.util.Collection<java.util.Locale> |
getSupportedLocales()
Access the locales supported by this instance.
|
public DefaultAmountFormatSymbolsProviderSpi()
public javax.money.format.AmountFormatSymbols getAmountFormatSymbols(java.util.Locale locale)
javax.money.spi.AmountFormatSymbolsProviderSpi
AmountFormatSymbols
for the given Locale
.getAmountFormatSymbols
in interface javax.money.spi.AmountFormatSymbolsProviderSpi
locale
- The Locale
to be used, not null
.AmountFormatSymbols
instance, or null
, which delegates
the request to subsequent AmountFormatSymbolsProviderSpi
instances
registered.public java.util.Collection<java.util.Locale> getSupportedLocales()
javax.money.spi.AmountFormatSymbolsProviderSpi
getSupportedLocales
in interface javax.money.spi.AmountFormatSymbolsProviderSpi
Locale
instances, never null
.