public class TestAmountFormatProvider extends java.lang.Object implements MonetaryAmountFormatProviderSpi
| Modifier and Type | Class and Description |
|---|---|
static class |
TestAmountFormatProvider.TestFormat |
| Constructor and Description |
|---|
TestAmountFormatProvider() |
| Modifier and Type | Method and Description |
|---|---|
MonetaryAmountFormat |
getAmountFormat(AmountStyle formatStyle)
Create a new
MonetaryAmountFormat for the given input. |
public MonetaryAmountFormat getAmountFormat(AmountStyle formatStyle)
MonetaryAmountFormatProviderSpiMonetaryAmountFormat for the given input.getAmountFormat in interface MonetaryAmountFormatProviderSpiformatStyle - The AmountStyle to be used.MonetaryAmountFormat instance, or null, which delegates
the request to subsequent MonetaryAmountFormatProviderSpi instances
registered.