Package com.mchange.util.impl
Class CommandLineParserImpl
java.lang.Object
com.mchange.util.impl.CommandLineParserImpl
- All Implemented Interfaces:
CommandLineParser
Deprecated.
Use com.mchange.v2.cmdline.CommandLineUtils instead
-
Constructor Summary
ConstructorDescriptionCommandLineParserImpl
(String[] argv, String[] validSwitches, String[] reqSwitches, String[] argSwitches) Deprecated.CommandLineParserImpl
(String[] argv, String[] validSwitches, String[] reqSwitches, String[] argSwitches, char switch_char) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Deprecated.boolean
checkSwitch
(String sw) Deprecated.int
Deprecated.findSwitchArg
(String sw) Deprecated.String[]
Deprecated.Order of args is guaranteed to be maintained.
-
Constructor Details
-
CommandLineParserImpl
public CommandLineParserImpl(String[] argv, String[] validSwitches, String[] reqSwitches, String[] argSwitches, char switch_char) Deprecated. -
CommandLineParserImpl
public CommandLineParserImpl(String[] argv, String[] validSwitches, String[] reqSwitches, String[] argSwitches) Deprecated.
-
-
Method Details
-
checkSwitch
Deprecated.- Specified by:
checkSwitch
in interfaceCommandLineParser
-
findSwitchArg
Deprecated.- Specified by:
findSwitchArg
in interfaceCommandLineParser
-
checkArgv
public boolean checkArgv()Deprecated.- Specified by:
checkArgv
in interfaceCommandLineParser
-
findLastSwitched
public int findLastSwitched()Deprecated.- Specified by:
findLastSwitched
in interfaceCommandLineParser
-
findUnswitchedArgs
Deprecated.Description copied from interface:CommandLineParser
Order of args is guaranteed to be maintained.- Specified by:
findUnswitchedArgs
in interfaceCommandLineParser
-