org.incava.jagol
public abstract class Option extends Object
| Field Summary | |
|---|---|
| protected String | longName |
| protected char | shortName |
| Constructor Summary | |
|---|---|
| Option(String longName, String description) | |
| Method Summary | |
|---|---|
| String | getDescription()
Returns the description. |
| String | getLongName()
Returns the long option name. |
| char | getShortName()
Returns the short option name. |
| abstract boolean | set(String arg, List args)
Sets from a list of command-line arguments. |
| void | setLongName(String longName) |
| void | setShortName(char shortName) |
| abstract void | setValue(String value)
Sets the value from the string, for this option type. |