public interface AmountStyleProviderSpi
AmountStyle
instances.
Modifier and Type | Method and Description |
---|---|
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.
|
AmountStyle getAmountStyle(java.util.Locale locale)
AmountStyle
for the given Locale
.locale
- The target Locale
, not null
.AmountStyle
instance, or null
, which delegates the
request to subsequent AmountStyleProviderSpi
instances registered.java.util.Collection<java.util.Locale> getSupportedLocales()
Locale
instances, never null
.