org.hrodberaht.i18n.formatter
Class CurrencyFormatter
java.lang.Object
org.hrodberaht.i18n.formatter.Formatter
org.hrodberaht.i18n.formatter.NumberFormatter
org.hrodberaht.i18n.formatter.CurrencyFormatter
public class CurrencyFormatter
- extends NumberFormatter
Simple Java Utils
- Since:
- 1.0
- Version:
- 1.0
- Author:
- Robert Alexandersson
|
Field Summary |
static int |
SCALE
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SCALE
public static final int SCALE
- See Also:
- Constant Field Values
CurrencyFormatter
public CurrencyFormatter()
convertToObject
public Object convertToObject(String target)
- Overrides:
convertToObject in class Formatter
convertToString
public String convertToString(Object obj)
- Returns a string representation of its argument formatted as a
currency value.
- Overrides:
convertToString in class Formatter
Copyright © 2011. All Rights Reserved.