net.sf.statcvs.output
Class CommandLineParser

java.lang.Object
  extended bynet.sf.statcvs.output.CommandLineParser

public class CommandLineParser
extends java.lang.Object

Takes a command line, like given to the Main#main method, and turns it into a Configuration object.

Version:
$Id: CommandLineParser.java,v 1.6 2003/03/24 19:09:22 cyganiak Exp $
Author:
Richard Cyganiak

Constructor Summary
CommandLineParser(java.lang.String[] args)
          Constructor for CommandLineParser
 
Method Summary
 void parse()
          Parses the command line and sets the options (as static fields in ConfigurationOptions).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandLineParser

public CommandLineParser(java.lang.String[] args)
Constructor for CommandLineParser

Parameters:
args - the command line parameters
Method Detail

parse

public void parse()
           throws CommandLineException
Parses the command line and sets the options (as static fields in ConfigurationOptions).

Throws:
CommandLineException - if errors are present on the command line