| Class and Description |
|---|
| AlreadySelectedException
Thrown when more than one option in an option group has been provided.
|
| CommandLine
Represents list of arguments parsed against a
Options descriptor. |
| CommandLine.Builder
A nested builder class to create
CommandLine instance using descriptive methods. |
| CommandLineParser
A class that implements the
CommandLineParser interface can parse a String array according to the
Options specified and return a CommandLine. |
| DefaultParser
Default parser.
|
| DefaultParser.Builder
A nested builder class to create
DefaultParser instances
using descriptive methods. |
| MissingOptionException
Thrown when a required option has not been provided.
|
| Option
Describes a single command-line option.
|
| Option.Builder
A nested builder class to create
Option instances using descriptive methods. |
| OptionBuilder
Deprecated.
since 1.3, use
Option.builder(String) instead |
| OptionGroup
A group of mutually exclusive options.
|
| Options
Main entry-point into the library.
|
| ParseException
Base for Exceptions thrown during parsing of a command-line.
|
| Parser
Deprecated.
since 1.3, the two-pass parsing with the flatten method is not enough flexible to handle complex cases
|
| UnrecognizedOptionException
Thrown during parsing signaling an unrecognized option.
|
Copyright © 2002–2020 The Apache Software Foundation. All rights reserved.