|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of OptionBuilder in org.apache.commons.cli |
---|
Methods in org.apache.commons.cli that return OptionBuilder | |
---|---|
static OptionBuilder |
OptionBuilder.hasArg()
The next Option created will require an argument value. |
static OptionBuilder |
OptionBuilder.hasArg(boolean hasArg)
The next Option created will require an argument value if hasArg is true. |
static OptionBuilder |
OptionBuilder.hasArgs()
The next Option created can have unlimited argument values. |
static OptionBuilder |
OptionBuilder.hasArgs(int num)
The next Option created can have num argument values. |
static OptionBuilder |
OptionBuilder.hasOptionalArg()
The next Option can have an optional argument. |
static OptionBuilder |
OptionBuilder.hasOptionalArgs()
The next Option can have an unlimited number of optional arguments. |
static OptionBuilder |
OptionBuilder.hasOptionalArgs(int numArgs)
The next Option can have the specified number of optional arguments. |
static OptionBuilder |
OptionBuilder.isRequired()
The next Option created will be required. |
static OptionBuilder |
OptionBuilder.isRequired(boolean newRequired)
The next Option created will be required if required
is true. |
static OptionBuilder |
OptionBuilder.withArgName(String name)
The next Option created will have the specified argument value name. |
static OptionBuilder |
OptionBuilder.withDescription(String newDescription)
The next Option created will have the specified description |
static OptionBuilder |
OptionBuilder.withLongOpt(String newLongopt)
The next Option created will have the following long option value. |
static OptionBuilder |
OptionBuilder.withType(Object newType)
The next Option created will have a value that will be an instance of type . |
static OptionBuilder |
OptionBuilder.withValueSeparator()
The next Option created uses ' = ' as a means to
separate argument values. |
static OptionBuilder |
OptionBuilder.withValueSeparator(char sep)
The next Option created uses sep as a means to
separate argument values. |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |