Package de.hsh.graja.util.cli
Class StringOption
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringConverts 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
-
StringOption
public StringOption()
-
-
Method Details
-
convertImpl
Description copied from class:OptionConverts a string-typed argument to the type represented by this DataType. No validation against valid values will happen.- Specified by:
convertImplin classOption<String>- Returns:
- converted value
- Throws:
InvalidValueException
-