public class CurrencyUnitFormatter extends java.lang.Object implements Formatter<CurrencyUnit>
javax.money.CurrencyUnit
values,
from and to currency code Strings.Constructor and Description |
---|
CurrencyUnitFormatter() |
Modifier and Type | Method and Description |
---|---|
CurrencyUnit |
parse(java.lang.String text,
java.util.Locale locale)
Parse a text String to produce a T.
|
java.lang.String |
print(CurrencyUnit object,
java.util.Locale locale)
Print the object of type T for display.
|
public java.lang.String print(CurrencyUnit object, java.util.Locale locale)
Printer
public CurrencyUnit parse(java.lang.String text, java.util.Locale locale)
Parser