org.hrodberaht.i18n.formatter
Class DecimalFormatter

java.lang.Object
  extended by org.hrodberaht.i18n.formatter.Formatter
      extended by org.hrodberaht.i18n.formatter.NumberFormatter
          extended by org.hrodberaht.i18n.formatter.DecimalFormatter

public class DecimalFormatter
extends NumberFormatter

Simple Java Utils

Since:
1.0
Version:
1.0
Author:
Robert Alexandersson 2010-apr-01 17:35:51

Field Summary
 
Fields inherited from class org.hrodberaht.i18n.formatter.Formatter
locale
 
Constructor Summary
DecimalFormatter()
           
 
Method Summary
 Object convertToObject(String target)
          Returns an object representation of its argument.
 String convertToString(Object obj)
          Returns a formatted version of its argument.
 
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
 

Constructor Detail

DecimalFormatter

public DecimalFormatter()
Method Detail

convertToObject

public Object convertToObject(String target)
Returns an object representation of its argument.

Overrides:
convertToObject in class Formatter

convertToString

public String convertToString(Object obj)
Returns a formatted version of its argument.

Overrides:
convertToString in class Formatter


Copyright © 2011. All Rights Reserved.