org.mates
Class Mates
java.lang.Object
org.mates.Mates
- All Implemented Interfaces:
- GreetingProvider
- public class Mates
- extends java.lang.Object
- implements GreetingProvider
Main driver class for MATES. This class parses the command line
input, creates the appropriate user interface, and instantiates the
experiment.
Field Summary |
static java.lang.String |
REV_DATE
|
static java.lang.String |
VERSION
|
Constructor Summary |
Mates()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VERSION
public static final java.lang.String VERSION
- See Also:
- Constant Field Values
REV_DATE
public static final java.lang.String REV_DATE
- See Also:
- Constant Field Values
Mates
public Mates()
getUserInterface
public static UserInterface getUserInterface()
- Returns the user interface being used with this instance of
MATES.
main
public static void main(java.lang.String[] args)
getGreeting
public java.lang.String getGreeting()
- Specified by:
getGreeting
in interface GreetingProvider
getExperiment
public static Experiment getExperiment(java.lang.String experiment_class_name)
throws java.lang.InstantiationException,
java.lang.IllegalAccessException,
java.lang.IllegalArgumentException,
java.lang.reflect.InvocationTargetException,
java.lang.NoSuchMethodException,
java.lang.ClassNotFoundException
- Returns a new experiment object instantiated from its class
name.
- Throws:
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.IllegalArgumentException
java.lang.reflect.InvocationTargetException
java.lang.NoSuchMethodException
java.lang.ClassNotFoundException
Submit a bug or request a feature
http://mates.sourceforge.net/
Copyright 2004 Evan Sultanik