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
IllegalArgumentException
public static CommandLineParser.Parameter[] parse(String[] args, Set<String> parametersWithoutValues) throws IllegalArgumentException
IllegalArgumentException
public static CommandLineParser.Parameter[] parse(String[] args, int length) throws IllegalArgumentException
IllegalArgumentException
Copyright © GigaSpaces.