public class BigIntegerConverter extends Object implements TypeConverter<BigInteger>
| Constructor and Description |
|---|
BigIntegerConverter() |
| Modifier and Type | Method and Description |
|---|---|
BigInteger |
convert(String input,
GetOpt options,
OptionSpecification option)
Convert a string into a BigInteger or null.
|
public BigInteger convert(String input, GetOpt options, OptionSpecification option)
convert in interface TypeConverter<BigInteger>input - the input stringoptions - the options set in use (you'll want this for the usage())option - the specific option whose argument we're trying to parsenull if input is null or blank, or a BigInteger if the string is
parseableCommandLineProcessingException - if the parse failsBigInteger.BigInteger(String)Copyright © 2015. All rights reserved.