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