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