Module java.money
Package javax.money.format
Money and Currency format API. In more detail:
- JSR 354 defines a minimal
MonetaryAmountFormat
that adopts existing formatting functionality, such as injavax.text.DecimalFormat
. - Some of the functionality from
javax.text.DecimalFormat
are remodeled, to be platform independent. Nevertheless the reference implementation may be built on top of existing JDK functionality. - Additionally it adds customizable grouping sizes and characters as well as additional (extensible) currency formatting capabilities.
-
Interface Summary Interface Description MonetaryAmountFormat Formats instances ofMonetaryAmount
to aString
or anAppendable
. -
Class Summary Class Description AmountFormatContext TheAmountFormatContext
provides details about aMonetaryAmountFormat
.AmountFormatContextBuilder Builder class for creating new instances ofAmountFormatContext
adding detailed information about aMonetaryAmountFormat
instance.AmountFormatQuery Query for accessing instances ofMonetaryAmountFormat
.AmountFormatQueryBuilder Builder for queries for accessing/configuringMonetaryAmountFormat
instances.MonetaryFormats This class models the singleton accessor forMonetaryAmountFormat
instances.MonetaryFormats.DefaultMonetaryFormatsSingletonSpi This class models the singleton accessor forMonetaryAmountFormat
instances. -
Exception Summary Exception Description MonetaryParseException Signals that an error has been reached unexpectedly while parsing.