com.jcorporate.expresso.services.test
Class CommandLineParser
java.lang.Object
com.jcorporate.expresso.services.test.CommandLineParser
- public class CommandLineParser
- extends Object
Parser class for parsing the command line to get config directory and
webapp directory
Required arguments:
/configDir =
/webAppDir =
- Version:
- $Revision: 1.6 $ $Date: 2003/06/03 06:12:24 $
- Author:
- Michael Rimov
|
Method Summary |
protected static void |
parseArgv(String argv,
HashMap commandArgs)
Parse the command line to get things like config dir, etc. |
static String[] |
parseCommandLine(String[] args)
Processes the command line arguments and
returns the rest of the command line after we extract what we want. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommandLineParser
public CommandLineParser()
parseCommandLine
public static String[] parseCommandLine(String[] args)
throws Exception
- Processes the command line arguments and
returns the rest of the command line after we extract what we want.
- Throws:
Exception
parseArgv
protected static void parseArgv(String argv,
HashMap commandArgs)
- Parse the command line to get things like config dir, etc.
- Parameters:
argv - commandArgs - - the Hashtable to put properly formatted parameters into
- Throws:
Exception
Please see www.jcorporate.com for information about new Expresso releases.