net.sf.statcvs.output
Class CommandLineParser
java.lang.Object
net.sf.statcvs.output.CommandLineParser
- public class CommandLineParser
- extends Object
Takes a command line, like given to the Main.main(java.lang.String[])
method,
and turns it into a ConfigurationOptions
object.
- Version:
- $Id: CommandLineParser.java,v 1.15 2003/12/15 20:01:13 cyganiak Exp $
- Author:
- Richard Cyganiak
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommandLineParser
public CommandLineParser(String[] args)
- Constructor for CommandLineParser
- Parameters:
args
- the command line parameters
parse
public void parse()
throws ConfigurationException
- Parses the command line and sets the options (as static
fields in
ConfigurationOptions
).
- Throws:
ConfigurationException
- if errors are present on the command line