public abstract class CommandLineParser extends Object
CommandLineParser.Parameter arguments. The arguments are in
the form of -param1 arg1 arg2 -parm2 arg1.| Modifier and Type | Class and Description |
|---|---|
static class |
CommandLineParser.Parameter |
| Constructor and Description |
|---|
CommandLineParser() |
| Modifier and Type | Method and Description |
|---|---|
static CommandLineParser.Parameter[] |
parse(String[] args) |
static CommandLineParser.Parameter[] |
parse(String[] args,
int length) |
static CommandLineParser.Parameter[] |
parse(String[] args,
Set<String> parametersWithoutValues) |
public static CommandLineParser.Parameter[] parse(String[] args) throws IllegalArgumentException
IllegalArgumentExceptionpublic static CommandLineParser.Parameter[] parse(String[] args, Set<String> parametersWithoutValues) throws IllegalArgumentException
IllegalArgumentExceptionpublic static CommandLineParser.Parameter[] parse(String[] args, int length) throws IllegalArgumentException
IllegalArgumentExceptionCopyright © GigaSpaces.