Example usage for Java org.apache.commons.cli OptionBuilder fields, constructors, methods, implement or subclass
The text is from its open source code.
Option | create(char opt) Create an Option using the current settings and with the specified Option char . |
Option | create(String opt) Create an Option using the current settings and with the specified Option char . |
Option | create() Create an Option using the current settings |
OptionBuilder | hasArg(boolean hasArg) The next Option created will require an argument value if hasArg is true. |
OptionBuilder | hasArg() The next Option created will require an argument value. |
OptionBuilder | hasArgs() The next Option created can have unlimited argument values. |
OptionBuilder | hasArgs(int num) The next Option created can have num argument values. |
OptionBuilder | hasOptionalArg() The next Option can have an optional argument. |
OptionBuilder | hasOptionalArgs() The next Option can have an unlimited number of optional arguments. |
OptionBuilder | hasOptionalArgs(int numArgs) The next Option can have the specified number of optional arguments. |
OptionBuilder | isRequired() The next Option created will be required. |
OptionBuilder | isRequired(boolean newRequired) The next Option created will be required if required is true. |
OptionBuilder | withArgName(String name) The next Option created will have the specified argument value name. |
OptionBuilder | withDescription(String newDescription) The next Option created will have the specified description |
OptionBuilder | withLongOpt(String newLongopt) The next Option created will have the following long option value. |
OptionBuilder | withType(Object newType) The next Option created will have a value that will be an instance of type . |
OptionBuilder | withValueSeparator(char sep) The next Option created uses sep as a means to separate argument values. |
OptionBuilder | withValueSeparator() The next Option created uses ' = ' as a means to separate argument values. |