public class DefaultAmountFormatProviderSpi
extends java.lang.Object
implements javax.money.spi.MonetaryAmountFormatProviderSpi
Constructor and Description |
---|
DefaultAmountFormatProviderSpi() |
Modifier and Type | Method and Description |
---|---|
javax.money.format.MonetaryAmountFormat |
getAmountFormat(javax.money.format.AmountStyle style)
Create a new
MonetaryAmountFormat for the given input. |
public javax.money.format.MonetaryAmountFormat getAmountFormat(javax.money.format.AmountStyle style)
javax.money.spi.MonetaryAmountFormatProviderSpi
MonetaryAmountFormat
for the given input.getAmountFormat
in interface javax.money.spi.MonetaryAmountFormatProviderSpi
style
- The AmountStyle
to be used.MonetaryAmountFormat
instance, or null
, which delegates
the request to subsequent MonetaryAmountFormatProviderSpi
instances
registered.