de.dfleischhacker.uni.thesis.userinterface
Class Starter

java.lang.Object
  extended by de.dfleischhacker.uni.thesis.userinterface.Starter

public class Starter
extends java.lang.Object

This class wraps around the different types of userinterfaces to provide a single starter class no matter if using the Swing based interface or the batchmode.


Constructor Summary
Starter()
           
 
Method Summary
static void main(java.lang.String[] args)
          Checks the commandline parameters for a hint which interface should be started.
static java.lang.String[] removeArg(java.lang.String[] args, int index)
          Removes the entry at the given index from the array and returns the resulting array.
static void showHelp()
          Prints some help lines
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Starter

public Starter()
Method Detail

main

public static void main(java.lang.String[] args)
Checks the commandline parameters for a hint which interface should be started. Default is the GUI interface. The arguments are passed through to the actual interface's main method.

Parameters:
args -

removeArg

public static java.lang.String[] removeArg(java.lang.String[] args,
                                           int index)
Removes the entry at the given index from the array and returns the resulting array. Internally this is done by copying the array contents except the one with the given index into a new array.

Parameters:
args - array to remove element from
index - index of element to remove
Returns:
array without the element at the given index

showHelp

public static void showHelp()
Prints some help lines