edu.bonn.cs.iv.bonnmotion.run
Class BM

java.lang.Object
  extended by edu.bonn.cs.iv.bonnmotion.run.BM

public class BM
extends java.lang.Object

Frontend for all applications and scenario generators.


Constructor Summary
BM()
           
 
Method Summary
 void go(java.lang.String[] _args)
          Starts the magic.
static void main(java.lang.String[] args)
           
protected  boolean parseArg(char key, java.lang.String val)
           
static void printHelp()
           
static java.lang.String[] removeFirstElements(java.lang.String[] array, int n)
           
static java.lang.Class str2class(java.lang.String _class)
          Converts a classname into a Class object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BM

public BM()
Method Detail

str2class

public static java.lang.Class str2class(java.lang.String _class)
Converts a classname into a Class object

Returns:
class object

printHelp

public static void printHelp()

parseArg

protected boolean parseArg(char key,
                           java.lang.String val)

go

public void go(java.lang.String[] _args)
        throws java.lang.Throwable
Starts the magic. Determines the class to run specified on the command line and passes the parameters to the application or model.

Throws:
java.lang.Throwable

removeFirstElements

public static java.lang.String[] removeFirstElements(java.lang.String[] array,
                                                     int n)

main

public static void main(java.lang.String[] args)
                 throws java.lang.Throwable
Throws:
java.lang.Throwable