Example usage for Java org.apache.commons.cli2 CommandLine fields, constructors, methods, implement or subclass
The text is from its open source code.
Boolean | getSwitch(final String trigger) Retrieves the Boolean value associated with the specified Switch |
Boolean | getSwitch(final Option option) Retrieves the Boolean value associated with the specified Switch |
Object | getValue(final String trigger, final Object defaultValue) Retrieves the single Argument value associated with the specified Option |
Object | getValue(final Option option, final Object defaultValue) Retrieves the single Argument value associated with the specified Option |
Object | getValue(final String trigger) Retrieves the single Argument value associated with the specified Option |
Object | getValue(final Option option) Retrieves the single Argument value associated with the specified Option |
List | getValues(final String trigger) Retrieves the Argument values associated with the specified Option |
List | getValues(final Option option) Retrieves the Argument values associated with the specified Option |
boolean | hasOption(final String trigger) Detects the presence of an option with the specified trigger in this CommandLine. |
boolean | hasOption(final Option option) Detects the presence of an option in this CommandLine. |