com.mchange.util.impl
Class CommandLineParserImpl

java.lang.Object
  extended by com.mchange.util.impl.CommandLineParserImpl
All Implemented Interfaces:
CommandLineParser

Deprecated. Use com.mchange.v2.cmdline.CommandLineUtils instead

public class CommandLineParserImpl
extends Object
implements CommandLineParser


Constructor Summary
CommandLineParserImpl(String[] argv, String[] validSwitches, String[] reqSwitches, String[] argSwitches)
          Deprecated.  
CommandLineParserImpl(String[] argv, String[] validSwitches, String[] reqSwitches, String[] argSwitches, char switch_char)
          Deprecated.  
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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 Detail

checkSwitch

public boolean checkSwitch(String sw)
Deprecated. 
Specified by:
checkSwitch in interface CommandLineParser

findSwitchArg

public String findSwitchArg(String sw)
Deprecated. 
Specified by:
findSwitchArg in interface CommandLineParser

checkArgv

public boolean checkArgv()
Deprecated. 
Specified by:
checkArgv in interface CommandLineParser

findLastSwitched

public int findLastSwitched()
Deprecated. 
Specified by:
findLastSwitched in interface CommandLineParser

findUnswitchedArgs

public String[] findUnswitchedArgs()
Deprecated. 
Description copied from interface: CommandLineParser
Order of args is guaranteed to be maintained.

Specified by:
findUnswitchedArgs in interface CommandLineParser