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