org.hrodberaht.i18n.formatter
Class NumberFormatter

java.lang.Object
  extended by org.hrodberaht.i18n.formatter.Formatter
      extended by org.hrodberaht.i18n.formatter.NumberFormatter
Direct Known Subclasses:
CurrencyFormatter, DecimalFormatter, IntegerFormatter, LongFormatter, PercentageFormatter

public class NumberFormatter
extends Formatter

Simple Java Utils

Since:
1.0
Version:
1.0
Author:
Robert Alexandersson 2010-jun-07 20:30:59

Field Summary
 
Fields inherited from class org.hrodberaht.i18n.formatter.Formatter
locale
 
Constructor Summary
NumberFormatter()
           
 
Method Summary
protected  NumberFormat fixCharacterJVMErrorsForDecimalFormat(NumberFormat format)
           
protected  Number parseNumber(String target, NumberFormat decimalFormat)
           
 
Methods inherited from class org.hrodberaht.i18n.formatter.Formatter
convertToObject, convertToString, getFormatter, getFormatter, isSupportedType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NumberFormatter

public NumberFormatter()
Method Detail

parseNumber

protected Number parseNumber(String target,
                             NumberFormat decimalFormat)

fixCharacterJVMErrorsForDecimalFormat

protected NumberFormat fixCharacterJVMErrorsForDecimalFormat(NumberFormat format)


Copyright © 2011. All Rights Reserved.