public interface MonetaryAmountFormatProviderSpi
SPI (formatting) providing
MonetaryAmountFormat instances.-
Method Summary
Modifier and TypeMethodDescriptiongetAmountFormats(AmountFormatQuery formatQuery) Create a newMonetaryAmountFormatfor the given input.Gets a list with available format names for this format provider.Gets a list with available locales for this format provider.default StringAccess the provider's name.
-
Method Details
-
getProviderName
Access the provider's name.- Returns:
- this provider's name, not null.
-
getAmountFormats
Create a newMonetaryAmountFormatfor the given input.- Parameters:
formatQuery- TheAmountFormatContextto be used.- Returns:
- An according
MonetaryAmountFormatinstance, ornull, which delegates the request to subsequentMonetaryAmountFormatProviderSpiinstances registered.
-
getAvailableLocales
Gets a list with available locales for this format provider.- Returns:
- list of available locales, never null.
-
getAvailableFormatNames
Gets a list with available format names for this format provider.- Returns:
- list of available formats, never null.
-