public class DefaultAmountStyleProviderSpi
extends java.lang.Object
implements javax.money.spi.AmountStyleProviderSpi
AmountStyleProviderSpi based on the corresponding DecimalFormat
.| Constructor and Description |
|---|
DefaultAmountStyleProviderSpi() |
| Modifier and Type | Method and Description |
|---|---|
javax.money.format.AmountStyle |
getAmountStyle(java.util.Locale locale)
Get an
AmountStyle for the given Locale. |
java.util.Collection<java.util.Locale> |
getSupportedLocales()
Access the locales supported by this instance.
|
public javax.money.format.AmountStyle getAmountStyle(java.util.Locale locale)
javax.money.spi.AmountStyleProviderSpiAmountStyle for the given Locale.getAmountStyle in interface javax.money.spi.AmountStyleProviderSpilocale - The target Locale, not null.AmountStyle instance, or null, which delegates the
request to subsequent AmountStyleProviderSpi instances registered.public java.util.Collection<java.util.Locale> getSupportedLocales()
javax.money.spi.AmountStyleProviderSpigetSupportedLocales in interface javax.money.spi.AmountStyleProviderSpiLocale instances, never null.