Package org.rwtodd.args
Interface OneArgParam<T>
- All Superinterfaces:
Param
- All Known Implementing Classes:
AppendingParam,BasicOneArgParam,BoundedParam,CharParam,ClampedParam,DateParam,DoubleParam,ExistingDirectoryParam,ExistingFileParam,IntListParam,IntParam,SetRestrictedParam,StringParam
An interface for parameters that take an argument from the command line.
-
Method Summary
-
Method Details
-
process
Process an parameter with its argument.- Parameters:
param- the name of the parameter, as it was found in the command-line.argument- the given argument to the parameter.- Throws:
ArgParserException- if there is a problem parsing the argument.
-
getValue
T getValue()gets the current value of the parameter
-