org.chwf.converter.basic
Class FloatConverter

java.lang.Object
  |
  +--org.chwf.converter.Converter
        |
        +--org.chwf.converter.basic.BaseNumberConverter
              |
              +--org.chwf.converter.basic.FloatConverter

public class FloatConverter
extends BaseNumberConverter

Converter for floats.

Author:
Paul Strack

Constructor Summary
FloatConverter()
           
 
Method Summary
 java.lang.Object parse(java.lang.String value)
          Parse the string value to the conversion type.
 
Methods inherited from class org.chwf.converter.basic.BaseNumberConverter
format, parseNumber
 
Methods inherited from class org.chwf.converter.Converter
convert, getConverter, getConverter, getType, isSimpleType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FloatConverter

public FloatConverter()
Method Detail

parse

public java.lang.Object parse(java.lang.String value)
                       throws ConversionException
Parse the string value to the conversion type.

Overrides:
parse in class Converter
Parameters:
value - The value being parsed.
Returns:
The resulting object.
Throws:
ConversionException - If parsing fails.


Copyright © 2002-2004, Paul Strack. All Rights Reserved.