Package com.bc.ceres.binding.converters
Class FloatConverter
- java.lang.Object
-
- com.bc.ceres.binding.converters.NumberConverter<Float>
-
- com.bc.ceres.binding.converters.FloatConverter
-
public class FloatConverter extends NumberConverter<Float>
-
-
Constructor Summary
Constructors Constructor Description FloatConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<Float>
getValueType()
Gets the value type.Float
parseNumber(String value)
-
Methods inherited from class com.bc.ceres.binding.converters.NumberConverter
format, parse
-
-
-
-
Method Detail
-
getValueType
public Class<Float> getValueType()
Description copied from interface:Converter
Gets the value type.- Specified by:
getValueType
in interfaceConverter<Float>
- Specified by:
getValueType
in classNumberConverter<Float>
- Returns:
- The value type.
-
parseNumber
public Float parseNumber(String value) throws NumberFormatException
- Specified by:
parseNumber
in classNumberConverter<Float>
- Throws:
NumberFormatException
-
-