Uses of Class
javax.money.format.AmountFormatQueryBuilder
Package | Description |
---|---|
javax.money.format |
Money and Currency format API.
|
-
Uses of AmountFormatQueryBuilder in javax.money.format
Methods in javax.money.format that return AmountFormatQueryBuilder Modifier and Type Method Description static AmountFormatQueryBuilder
AmountFormatQueryBuilder. of(java.lang.String formatName)
Creates a newAmountFormatQueryBuilder
.static AmountFormatQueryBuilder
AmountFormatQueryBuilder. of(java.util.Locale locale)
Creates a new defaultAmountFormatQueryBuilder
for a formatter based on the locale specific defaults.static AmountFormatQueryBuilder
AmountFormatQueryBuilder. of(AmountFormatQuery formatQuery)
Creates a newAmountFormatQueryBuilder
and initializes it with the values fromformatQuery
.AmountFormatQueryBuilder
AmountFormatQueryBuilder. setFormatName(java.lang.String formatName)
Sets a style's id.AmountFormatQueryBuilder
AmountFormatQueryBuilder. setLocale(java.util.Locale locale)
Sets a Locale to be applied.AmountFormatQueryBuilder
AmountFormatQueryBuilder. setMonetaryAmountFactory(MonetaryAmountFactory<?> monetaryFactory)
Sets theMonetaryAmountFactory
to be used to of amounts during parsing.AmountFormatQueryBuilder
AmountFormatQueryBuilder. setMonetaryQuery(MonetaryAmountFactoryQuery monetaryQuery)
Sets theMonetaryContext
to be used, when amount's are parsed.AmountFormatQueryBuilder
AmountFormatQuery. toBuilder()
Get aAmountFormatQueryBuilder
preinitialized with this context instance.