Package de.hsh.graja.util.cli
Class PathOption
- java.lang.Object
-
- de.hsh.graja.util.cli.Option<File>
-
- de.hsh.graja.util.cli.PathOption
-
-
Constructor Summary
Constructors Constructor Description PathOption()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected File
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 File 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<File>
- Returns:
- converted value
- Throws:
InvalidValueException
-
-