Package | Description |
---|---|
javax.money.format |
Money and Currency format API.
|
javax.money.spi |
SPI interfaces of the Money and Currency API, including bootstrap logic.
|
Modifier and Type | Method and Description |
---|---|
AmountFormatQuery |
AmountFormatQueryBuilder.build()
Creates a new
AmountFormatQuery instance. |
static AmountFormatQuery |
AmountFormatQuery.of(Locale locale,
String... providers)
Creates a simple format query based on a singlet Locale, similar to
(java.util.Locale) . |
Modifier and Type | Method and Description |
---|---|
static AmountFormatContextBuilder |
AmountFormatContextBuilder.create(AmountFormatQuery formatQuery)
Creates a new
AmountFormatContextBuilder . |
static MonetaryAmountFormat |
MonetaryFormats.getAmountFormat(AmountFormatQuery formatQuery)
Access the default
MonetaryAmountFormat given a Locale . |
static Collection<MonetaryAmountFormat> |
MonetaryFormats.getAmountFormats(AmountFormatQuery formatQuery)
Access all
MonetaryAmountFormat instances that match the given a AmountFormatQuery . |
Collection<MonetaryAmountFormat> |
MonetaryFormats.DefaultMonetaryFormatsSingletonSpi.getAmountFormats(AmountFormatQuery formatQuery)
Access an
MonetaryAmountFormat given a .AmountFormatContext . |
static boolean |
MonetaryFormats.isAvailable(AmountFormatQuery formatQuery)
Checks if a
MonetaryAmountFormat is available for the given AmountFormatQuery . |
static AmountFormatQueryBuilder |
AmountFormatQueryBuilder.of(AmountFormatQuery formatQuery)
Creates a new
AmountFormatQueryBuilder and initializes it with the values from {@code formatQuery. |
Modifier and Type | Method and Description |
---|---|
default MonetaryAmountFormat |
MonetaryFormatsSingletonSpi.getAmountFormat(AmountFormatQuery formatQuery)
Access an
MonetaryAmountFormat given a .AmountFormatQuery . |
Collection<MonetaryAmountFormat> |
MonetaryFormatsSingletonSpi.getAmountFormats(AmountFormatQuery formatQuery)
Access all
MonetaryAmountFormat instances matching the given .AmountFormatQuery . |
Collection<MonetaryAmountFormat> |
MonetaryAmountFormatProviderSpi.getAmountFormats(AmountFormatQuery formatQuery)
Create a new
MonetaryAmountFormat for the given input. |
default boolean |
MonetaryFormatsSingletonSpi.isAvailable(AmountFormatQuery formatQuery)
Checks if a
MonetaryAmountFormat is available given a .AmountFormatQuery . |
Copyright © 2012–2016 JSR 354 - Expert Group. All rights reserved.