public class BigIntegerConverter extends AbstractBaseConverter<BigInteger>
String
into a BigInteger
.
For a description of the format, see BigInteger.BigInteger(String)
.
Example:
@Parameter(names = { "--bigInteger" }, converter = BigIntegerConverter.class)
private BigInteger bigInteger;
BigInteger
,
BigInteger.BigInteger(String)
failOnNull, targetClass
Constructor and Description |
---|
BigIntegerConverter(String optionName)
Constructs a converter.
|
Modifier and Type | Method and Description |
---|---|
protected BigInteger |
convertImpl(String value)
Converts a value.
|
convert, getErrorString, isSingle, newParameterException, newParameterException, split, toInt, toURI
public BigIntegerConverter(String optionName)
optionName
- The option name, may be null.protected BigInteger convertImpl(String value)
AbstractBaseConverter
convertImpl
in class AbstractBaseConverter<BigInteger>
value
- the value to convertCopyright © 2016-2016 Gary Gregory. All Rights Reserved.
Use is subject to The Apache Software License, Version 2.0