org.hrodberaht.i18n.formatter
Class CurrencyFormatter

java.lang.Object
  extended by org.hrodberaht.i18n.formatter.Formatter
      extended by org.hrodberaht.i18n.formatter.NumberFormatter
          extended by 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
           
 
Fields inherited from class org.hrodberaht.i18n.formatter.Formatter
locale
 
Constructor Summary
CurrencyFormatter()
           
 
Method Summary
 java.lang.Object convertToObject(java.lang.String target)
           
 java.lang.String convertToString(java.lang.Object obj)
          Returns a string representation of its argument formatted as a currency value.
 
Methods inherited from class org.hrodberaht.i18n.formatter.NumberFormatter
fixCharacterJVMErrorsForDecimalFormat, parseNumber
 
Methods inherited from class org.hrodberaht.i18n.formatter.Formatter
getFormatter, getFormatter, isSupportedType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SCALE

public static final int SCALE
See Also:
Constant Field Values
Constructor Detail

CurrencyFormatter

public CurrencyFormatter()
Method Detail

convertToObject

public java.lang.Object convertToObject(java.lang.String target)
Overrides:
convertToObject in class Formatter

convertToString

public java.lang.String convertToString(java.lang.Object obj)
Returns a string representation of its argument formatted as a currency value.

Overrides:
convertToString in class Formatter


Copyright © 2010. All Rights Reserved.