javax.money.format.MonetaryFormats.
Implementations of this interface must be thread-safe.
| Modifier and Type | Method and Description |
|---|---|
| public default MonetaryAmountFormat | Returns: the correspondingjavax.money.format.MonetaryAmountFormatThe format query defining the requirements of the formatter. formatQuery)Access an |
| public default MonetaryAmountFormat | Returns: the matchingMonetaryAmountFormatthe target locale, String... Locale, not null.The (optional) providers to be used, ordered correspondingly. providers)Access the default |
| public default MonetaryAmountFormat | Returns: the matchingMonetaryAmountFormatthe target format name, not formatName, String... null.The (optional) providers to be used, ordered correspondingly. providers)Access the default |
| public Collection | Returns: the correspondingjavax.money.format.MonetaryAmountFormat instances, never nullThe format query defining the requirements of the formatter. formatQuery)Access all |
| public Set | Returns: all available locales, nevernull.The (optional) providers to be used, ordered correspondingly. providers)Get all available locales. |
| public List | Returns: the default provider chain, never null.Get the default provider chain, identified by the unique provider names in order as evaluated and used. |
| public Set | Returns: the provider names, never null.Get the names of the currently registered format providers. |
| public default boolean | Returns: true, if a t least onejavax.money.format.MonetaryAmountFormat is matching the query.The format query defining the requirements of the formatter. formatQuery)Checks if a |
| public default boolean | Returns: true, if a t least onejavax.money.format.MonetaryAmountFormat is matching the query.the target locale, String... Locale, not null.The (optional) providers to be used, ordered correspondingly. providers)Checks if a |
| getAmountFormat | back to summary |
|---|---|
| public default MonetaryAmountFormat getAmountFormat(AmountFormatQuery formatQuery) Access an
| |
| getAmountFormat | back to summary |
|---|---|
| public default MonetaryAmountFormat getAmountFormat(Locale locale, String... providers) Access the default
| |
| getAmountFormat | back to summary |
|---|---|
| public default MonetaryAmountFormat getAmountFormat(String formatName, String... providers) Access the default
| |
| getAmountFormats | back to summary |
|---|---|
| public Collection Access all
| |
| getAvailableLocales | back to summary |
|---|---|
| public Set Get all available locales. This equals to | |
| getDefaultProviderChain | back to summary |
|---|---|
| public List Get the default provider chain, identified by the unique provider names in order as evaluated and used. | |
| getProviderNames | back to summary |
|---|---|
| public Set Get the names of the currently registered format providers. | |
| isAvailable | back to summary |
|---|---|
| public default boolean isAvailable(AmountFormatQuery formatQuery) Checks if a
| |
| isAvailable | back to summary |
|---|---|
| public default boolean isAvailable(Locale locale, String... providers) Checks if a
| |