Package com.mchange.util.impl
Class CommandLineParserImpl
- java.lang.Object
-
- com.mchange.util.impl.CommandLineParserImpl
-
- All Implemented Interfaces:
CommandLineParser
public class CommandLineParserImpl extends java.lang.Object implements CommandLineParser
Deprecated.Use com.mchange.v2.cmdline.CommandLineUtils instead
-
-
Constructor Summary
Constructors Constructor Description CommandLineParserImpl(java.lang.String[] argv, java.lang.String[] validSwitches, java.lang.String[] reqSwitches, java.lang.String[] argSwitches)
Deprecated.CommandLineParserImpl(java.lang.String[] argv, java.lang.String[] validSwitches, java.lang.String[] reqSwitches, java.lang.String[] argSwitches, char switch_char)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
checkArgv()
Deprecated.boolean
checkSwitch(java.lang.String sw)
Deprecated.int
findLastSwitched()
Deprecated.java.lang.String
findSwitchArg(java.lang.String sw)
Deprecated.java.lang.String[]
findUnswitchedArgs()
Deprecated.Order of args is guaranteed to be maintained.
-
-
-
Constructor Detail
-
CommandLineParserImpl
public CommandLineParserImpl(java.lang.String[] argv, java.lang.String[] validSwitches, java.lang.String[] reqSwitches, java.lang.String[] argSwitches, char switch_char)
Deprecated.
-
CommandLineParserImpl
public CommandLineParserImpl(java.lang.String[] argv, java.lang.String[] validSwitches, java.lang.String[] reqSwitches, java.lang.String[] argSwitches)
Deprecated.
-
-
Method Detail
-
checkSwitch
public boolean checkSwitch(java.lang.String sw)
Deprecated.- Specified by:
checkSwitch
in interfaceCommandLineParser
-
findSwitchArg
public java.lang.String findSwitchArg(java.lang.String sw)
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
public java.lang.String[] findUnswitchedArgs()
Deprecated.Description copied from interface:CommandLineParser
Order of args is guaranteed to be maintained.- Specified by:
findUnswitchedArgs
in interfaceCommandLineParser
-
-