public class CurrencyUnitFormatter extends 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(String text,
Locale locale)
Parse a text String to produce a T.
|
String |
print(javax.money.CurrencyUnit object,
Locale locale)
Print the object of type T for display.
|
public String print(javax.money.CurrencyUnit object, Locale locale)
Printer