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.IntegerparseNumber(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:ConverterGets the value type.- Specified by:
getValueTypein interfaceConverter<Integer>- Specified by:
getValueTypein classNumberConverter<Integer>- Returns:
- The value type.
-
parseNumber
public Integer parseNumber(String value) throws NumberFormatException
- Specified by:
parseNumberin classNumberConverter<Integer>- Throws:
NumberFormatException
-
-