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