Package org.jeasy.batch.core.converter
Class BigIntegerTypeConverter
- java.lang.Object
-
- org.jeasy.batch.core.converter.BigIntegerTypeConverter
-
- All Implemented Interfaces:
TypeConverter<java.lang.String,java.math.BigInteger>
public class BigIntegerTypeConverter extends java.lang.Object implements TypeConverter<java.lang.String,java.math.BigInteger>
BigInteger type converter. Does not acceptnull
or empty strings.- Author:
- Mahmoud Ben Hassine ([email protected])
-
-
Constructor Summary
Constructors Constructor Description BigIntegerTypeConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.math.BigInteger
convert(java.lang.String value)
Convert a source type into a target type.
-
-
-
Method Detail
-
convert
public java.math.BigInteger convert(java.lang.String value)
Convert a source type into a target type.- Specified by:
convert
in interfaceTypeConverter<java.lang.String,java.math.BigInteger>
- Parameters:
value
- the input value to convert- Returns:
- The converted value
-
-