Package de.hsh.graja.util.cli
Class DoubleOption
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Double
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
-
Constructor Details
-
DoubleOption
public DoubleOption()
-
-
Method Details
-
convertImpl
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<Double>
- Returns:
- converted value
- Throws:
InvalidValueException
-