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