Interface | Description |
---|---|
CmdLineOption |
The
CmdLineOption class is the interface
for all command line options parsed by OptionParser . |
Class | Description |
---|---|
BooleanOption |
The
BooleanOption class models a command line
option that is either present (true) or not present (false). |
OptionParser |
The
OptionParser class provides facilities to parse
command line options. |
StringClumpOption |
The
StringClumpOption class models a command line
option that may be attached to a string value. |
StringOption |
The
StringOption class models a command line
option that may contain a string value. |
Exception | Description |
---|---|
BadCommandLineException |
BadCommandLineException objects are thrown by
OptionParser in the parse() method if the
specified arguments contain an option not given in the
OptionParser 's constructor. |
InvalidOptionException |
InvalidOptionException objects are thrown by
OptionParser in the constructor if one or more
of the specified options is invalid. |
Copyright © 2023. All rights reserved.