| Modifier and Type | Class and Description |
|---|---|
static class |
CmdLineParser.IllegalOptionValueException
Thrown when an illegal or missing value is given by the user for an option
that takes a value.
|
static class |
CmdLineParser.NotFlagException
Thrown when the parsed commandline contains multiple concatenated short
options, such as -abcd, where one or more requires a value.
|
static class |
CmdLineParser.UnknownOptionException
Thrown when the parsed command-line contains an option that is not
recognised.
|
static class |
CmdLineParser.UnknownSuboptionException
Thrown when the parsed commandline contains multiple concatenated short
options, such as -abcd, where one is unknown.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CmdLineParser.parse(String[] argv)
Extract the options and non-option arguments from the given list of
command-line arguments.
|
void |
CmdLineParser.parse(String[] argv,
Locale locale)
Extract the options and non-option arguments from the given list of
command-line arguments.
|
Copyright © 2019 David R. Smith. All rights reserved.