Class BigIntegerConverter
java.lang.Object
com.github.joschi.jadconfig.converters.BigIntegerConverter
- All Implemented Interfaces:
Converter<BigInteger>
Converter for type
BigInteger- Author:
- jschalanda
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvertFrom(String value) Returns aBigIntegerinstance representing the specifiedStringvalue.convertTo(BigInteger value) Returns aStringinstance representing the configuration parameter's value.
-
Constructor Details
-
BigIntegerConverter
public BigIntegerConverter()
-
-
Method Details
-
convertFrom
Returns aBigIntegerinstance representing the specifiedStringvalue.- Specified by:
convertFromin interfaceConverter<BigInteger>- Parameters:
value- The configuration parameter'sStringvalue- Returns:
- A
BigIntegerinstance representing the configuration parameter's value
-
convertTo
Returns aStringinstance representing the configuration parameter's value.- Specified by:
convertToin interfaceConverter<BigInteger>- Parameters:
value- The configuration parameter'sBigIntegervalue- Returns:
- A
Stringinstance representing the configuration parameter's typed value
-