Package coneforest.cli
Class OptionWithArg<T>
java.lang.Object
coneforest.cli.Option
coneforest.cli.OptionWithArg<T>
- Direct Known Subclasses:
OptionCollector
,OptionHolder
An abstract option with argument.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
OptionWithArg
Creates new option with given names.- Parameters:
names
- space-delimited names.
-
-
Method Details
-
handle
Option argument is passed to this method.- Parameters:
arg
- argument- Throws:
ProcessingException
- when an error while handling the argument.
-