Uses of Class
javax.money.format.AmountFormatQuery
Package | Description |
---|---|
javax.money.format |
Money and Currency format API.
|
javax.money.spi |
SPI interfaces of the Money and Currency API, including bootstrap logic.
|
-
Uses of AmountFormatQuery in javax.money.format
Methods in javax.money.format that return AmountFormatQuery Modifier and Type Method Description AmountFormatQuery
AmountFormatQueryBuilder. build()
Creates a newAmountFormatQuery
instance.static AmountFormatQuery
AmountFormatQuery. of(java.util.Locale locale, java.lang.String... providers)
Creates a simple format query based on a single Locale, similar to(java.util.Locale)
.Methods in javax.money.format with parameters of type AmountFormatQuery Modifier and Type Method Description static AmountFormatContextBuilder
AmountFormatContextBuilder. create(AmountFormatQuery formatQuery)
Creates a newAmountFormatContextBuilder
.static MonetaryAmountFormat
MonetaryFormats. getAmountFormat(AmountFormatQuery formatQuery)
Access the defaultMonetaryAmountFormat
given aLocale
.java.util.Collection<MonetaryAmountFormat>
MonetaryFormats.DefaultMonetaryFormatsSingletonSpi. getAmountFormats(AmountFormatQuery formatQuery)
Access anMonetaryAmountFormat
given a.AmountFormatContext
.static java.util.Collection<MonetaryAmountFormat>
MonetaryFormats. getAmountFormats(AmountFormatQuery formatQuery)
Access allMonetaryAmountFormat
instances that match the given aAmountFormatQuery
.static boolean
MonetaryFormats. isAvailable(AmountFormatQuery formatQuery)
Checks if aMonetaryAmountFormat
is available for the givenAmountFormatQuery
.static AmountFormatQueryBuilder
AmountFormatQueryBuilder. of(AmountFormatQuery formatQuery)
Creates a newAmountFormatQueryBuilder
and initializes it with the values fromformatQuery
. -
Uses of AmountFormatQuery in javax.money.spi
Methods in javax.money.spi with parameters of type AmountFormatQuery Modifier and Type Method Description default MonetaryAmountFormat
MonetaryFormatsSingletonSpi. getAmountFormat(AmountFormatQuery formatQuery)
Access anMonetaryAmountFormat
given a.AmountFormatQuery
.java.util.Collection<MonetaryAmountFormat>
MonetaryAmountFormatProviderSpi. getAmountFormats(AmountFormatQuery formatQuery)
Create a newMonetaryAmountFormat
for the given input.java.util.Collection<MonetaryAmountFormat>
MonetaryFormatsSingletonSpi. getAmountFormats(AmountFormatQuery formatQuery)
Access allMonetaryAmountFormat
instances matching the given.AmountFormatQuery
.default boolean
MonetaryFormatsSingletonSpi. isAvailable(AmountFormatQuery formatQuery)
Checks if aMonetaryAmountFormat
is available given a.AmountFormatQuery
.