Package de.hsh.graja.util.cli
Class IntegerOption
- java.lang.Object
-
- de.hsh.graja.util.cli.Option<Integer>
-
- de.hsh.graja.util.cli.IntegerOption
-
-
Constructor Summary
Constructors Constructor Description IntegerOption()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Integer
convertImpl(OptionValue ov)
Converts a string-typed argument to the type represented by this DataType.-
Methods inherited from class de.hsh.graja.util.cli.Option
getDefaultValue, getDescription, getMandatory, getMeaning, getName, getValidValues, isMandatory, setDefaultValue, setDescription, setMandatory, setMeaning, setName, setValidValues, toString
-
-
-
-
Method Detail
-
convertImpl
protected Integer convertImpl(OptionValue ov) throws InvalidValueException
Description copied from class:Option
Converts a string-typed argument to the type represented by this DataType. No validation against valid values will happen.- Specified by:
convertImpl
in classOption<Integer>
- Returns:
- converted value
- Throws:
InvalidValueException
-
-