Uses of Class
javax.money.format.AmountFormatContextBuilder
Package | Description |
---|---|
javax.money.format |
Money and Currency format API.
|
-
Uses of AmountFormatContextBuilder in javax.money.format
Methods in javax.money.format that return AmountFormatContextBuilder Modifier and Type Method Description static AmountFormatContextBuilder
AmountFormatContextBuilder. create(AmountFormatQuery formatQuery)
Creates a newAmountFormatContextBuilder
.static AmountFormatContextBuilder
AmountFormatContextBuilder. of(java.lang.String formatName)
Creates a newAmountFormatContextBuilder
.static AmountFormatContextBuilder
AmountFormatContextBuilder. of(java.util.Locale locale)
Creates a new defaultAmountFormatContextBuilder
for a formatter based on the locale specific defaults.static AmountFormatContextBuilder
AmountFormatContextBuilder. of(AmountFormatContext context)
Creates a newAmountFormatContextBuilder
.AmountFormatContextBuilder
AmountFormatContextBuilder. setFormatName(java.lang.String formatName)
Sets a format's name.AmountFormatContextBuilder
AmountFormatContextBuilder. setLocale(java.util.Locale locale)
Sets a Locale to be applied.AmountFormatContextBuilder
AmountFormatContextBuilder. setMonetaryAmountFactory(MonetaryAmountFactory monetaryAmountBuilder)
Sets theMonetaryContext
to be used, when amount's are parsed.AmountFormatContextBuilder
AmountFormatContext. toBuilder()
Creates a new builder instances, initialized with the data from this one.