Example usage for Java org.apache.commons.cli Options fields, constructors, methods, implement or subclass
The text is from its open source code.
Options | addOption(String opt, String longOpt, boolean hasArg, String description) Add an option that contains a short-name and a long-name. |
Options | addOption(String opt, boolean hasArg, String description) Add an option that only contains a short-name. |
Options | addOption(Option opt) Adds an option instance |
Options | addOptionGroup(OptionGroup group) Add the specified option group. |
Class> | getClass() Returns the runtime class of this Object . |
Option | getOption(String opt) Retrieve the Option matching the long or short name specified. |
OptionGroup | getOptionGroup(Option opt) Returns the OptionGroup the opt belongs to. |
Collection | getOptions() Retrieve a read-only list of options in this set |
List | getRequiredOptions() Returns the required options. |
boolean | hasOption(String opt) Returns whether the named Option is a member of this Options . |
String | toString() Dump state, suitable for debugging. |