dioscuri
Class CommandLineInterface

java.lang.Object
  extended by dioscuri.CommandLineInterface

public class CommandLineInterface
extends java.lang.Object

A class that handles the parameters provided by the user through the command line. The actual parsing is done by Apache's CLI: http://commons.apache.org/cli/

Author:
Bart Kiers

Constructor Summary
CommandLineInterface(java.lang.String... parameters)
          Creates a CommandLineInterface with the provided parameters
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandLineInterface

public CommandLineInterface(java.lang.String... parameters)
                     throws java.lang.Exception
Creates a CommandLineInterface with the provided parameters

Parameters:
parameters - the parameters to be parsed
Throws:
java.lang.Exception - when there are invalid parameters