sexi.comp
Class DataFormatter

java.lang.Object
  |
  +--sexi.comp.DataFormatter
Direct Known Subclasses:
EnvData

public class DataFormatter
extends java.lang.Object


Field Summary
(package private)  java.text.NumberFormat numFormatter
           
 
Constructor Summary
DataFormatter()
           
 
Method Summary
protected  void finalize()
           
 double getDoubleValue(java.lang.String str)
           
 float getFloatValue(java.lang.String str)
           
 int getIntValue(java.lang.String str)
           
 void setNumberFormat(java.text.NumberFormat n)
           
 
Methods inherited from class java.lang.Object
, clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

numFormatter

java.text.NumberFormat numFormatter
Constructor Detail

DataFormatter

public DataFormatter()
Method Detail

setNumberFormat

public void setNumberFormat(java.text.NumberFormat n)

getDoubleValue

public double getDoubleValue(java.lang.String str)
                      throws java.text.ParseException

getFloatValue

public float getFloatValue(java.lang.String str)
                    throws java.text.ParseException

getIntValue

public int getIntValue(java.lang.String str)
                throws java.text.ParseException

finalize

protected void finalize()
Overrides:
finalize in class java.lang.Object