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

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

Introduction

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

The text is from its open source code.

Subclass

org.apache.commons.cli.Options has subclasses.
Click this link to see all its subclasses.

Constructor

Method

OptionsaddOption(String opt, String longOpt, boolean hasArg, String description)
Add an option that contains a short-name and a long-name.
OptionsaddOption(String opt, boolean hasArg, String description)
Add an option that only contains a short-name.
OptionsaddOption(Option opt)
Adds an option instance
OptionsaddOptionGroup(OptionGroup group)
Add the specified option group.
ClassgetClass()
Returns the runtime class of this Object .
OptiongetOption(String opt)
Retrieve the Option matching the long or short name specified.
OptionGroupgetOptionGroup(Option opt)
Returns the OptionGroup the opt belongs to.
CollectiongetOptions()
Retrieve a read-only list of options in this set
ListgetRequiredOptions()
Returns the required options.
booleanhasOption(String opt)
Returns whether the named Option is a member of this Options .
StringtoString()
Dump state, suitable for debugging.