public class CommandLineParserImpl extends Object implements CommandLineParser
| Constructor and Description |
|---|
CommandLineParserImpl(String[] argv,
String[] validSwitches,
String[] reqSwitches,
String[] argSwitches)
Deprecated.
|
CommandLineParserImpl(String[] argv,
String[] validSwitches,
String[] reqSwitches,
String[] argSwitches,
char switch_char)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkArgv()
Deprecated.
|
boolean |
checkSwitch(String sw)
Deprecated.
|
int |
findLastSwitched()
Deprecated.
|
String |
findSwitchArg(String sw)
Deprecated.
|
String[] |
findUnswitchedArgs()
Deprecated.
Order of args is guaranteed to be maintained.
|
public CommandLineParserImpl(String[] argv, String[] validSwitches, String[] reqSwitches, String[] argSwitches, char switch_char)
public boolean checkSwitch(String sw)
checkSwitch in interface CommandLineParserpublic String findSwitchArg(String sw)
findSwitchArg in interface CommandLineParserpublic boolean checkArgv()
checkArgv in interface CommandLineParserpublic int findLastSwitched()
findLastSwitched in interface CommandLineParserpublic String[] findUnswitchedArgs()
CommandLineParserfindUnswitchedArgs in interface CommandLineParser