public final class AmountFormatContext extends AbstractContext
AmountFormatContext
provides details about a MonetaryAmountFormat
.MonetaryAmountFormat.getContext()
,
Serialized FormKEY_PROVIDER
Modifier and Type | Method and Description |
---|---|
String |
getFormatName()
Access the style's
Locale . |
Locale |
getLocale()
Access the context's Locale.
|
MonetaryAmountFactory<?> |
getParseFactory()
Access the format's
MonetaryAmountFactory that is used to of new amounts during
parsing. |
AmountFormatContextBuilder |
toBuilder()
Creates a new builder instances, initialized with the data from this one.
|
public String getFormatName()
Locale
.Locale
, never null
.public Locale getLocale()
public MonetaryAmountFactory<?> getParseFactory()
MonetaryAmountFactory
that is used to of new amounts during
parsing. If not set explicitly, the default MonetaryAmountFactory
is used.MonetaryAmountFactory
, never null
.public AmountFormatContextBuilder toBuilder()
AmountFormatContextBuilder
instance, never null.Copyright © 2012–2016 JSR 354 - Expert Group. All rights reserved.