public interface OptionHandler
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getOption()
Indicates the option string
|
void |
handleOption(java.lang.String value)
This function parses the argument at the current index.
|
boolean |
requireArguments()
Indicates whether or not this option requires an argument.
|
java.lang.String getOption()
boolean requireArguments()
void handleOption(java.lang.String value) throws java.lang.Exception
value
- the argument for the optionjava.lang.Exception
- in case of error.