public class TestAmountFormatSymbolsProvider extends java.lang.Object implements AmountFormatSymbolsProviderSpi
Constructor and Description |
---|
TestAmountFormatSymbolsProvider() |
Modifier and Type | Method and Description |
---|---|
AmountFormatSymbols |
getAmountFormatSymbols(java.util.Locale locale)
Create a new
AmountFormatSymbols for the given Locale . |
java.util.Set<java.util.Locale> |
getSupportedLocales()
Access the locales supported by this instance.
|
public AmountFormatSymbols getAmountFormatSymbols(java.util.Locale locale)
AmountFormatSymbolsProviderSpi
AmountFormatSymbols
for the given Locale
.getAmountFormatSymbols
in interface 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.Set<java.util.Locale> getSupportedLocales()
AmountFormatSymbolsProviderSpi
getSupportedLocales
in interface AmountFormatSymbolsProviderSpi
Locale
instances, never null
.