Expresso 5-5-0

com.jcorporate.expresso.services.test
Class CommandLineParser

java.lang.Object
  extended bycom.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

Constructor Summary
CommandLineParser()
           
 
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
 

Constructor Detail

CommandLineParser

public CommandLineParser()
Method Detail

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

Expresso 5-5-0

Please see www.jcorporate.com for information about new Expresso releases.