Java org.apache.commons.cli OptionBuilder fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.cli OptionBuilder fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.cli OptionBuilder.

The text is from its open source code.

Method

Optioncreate(char opt)
Create an Option using the current settings and with the specified Option char.
Optioncreate(String opt)
Create an Option using the current settings and with the specified Option char.
Optioncreate()
Create an Option using the current settings
OptionBuilderhasArg(boolean hasArg)
The next Option created will require an argument value if hasArg is true.
OptionBuilderhasArg()
The next Option created will require an argument value.
OptionBuilderhasArgs()
The next Option created can have unlimited argument values.
OptionBuilderhasArgs(int num)
The next Option created can have num argument values.
OptionBuilderhasOptionalArg()
The next Option can have an optional argument.
OptionBuilderhasOptionalArgs()
The next Option can have an unlimited number of optional arguments.
OptionBuilderhasOptionalArgs(int numArgs)
The next Option can have the specified number of optional arguments.
OptionBuilderisRequired()
The next Option created will be required.
OptionBuilderisRequired(boolean newRequired)
The next Option created will be required if required is true.
OptionBuilderwithArgName(String name)
The next Option created will have the specified argument value name.
OptionBuilderwithDescription(String newDescription)
The next Option created will have the specified description
OptionBuilderwithLongOpt(String newLongopt)
The next Option created will have the following long option value.
OptionBuilderwithType(Object newType)
The next Option created will have a value that will be an instance of type.
OptionBuilderwithValueSeparator(char sep)
The next Option created uses sep as a means to separate argument values.
OptionBuilderwithValueSeparator()
The next Option created uses '=' as a means to separate argument values.