public class ProgramDriver extends Object
public void addClass(String name, Class mainClass, String description) throws Throwable
name - The name of the string you want the class instance to be called withmainClass - The class that you want to add to the repositorydescription - The description of the classNoSuchMethodExceptionSecurityExceptionThrowablepublic void driver(String[] args) throws Throwable
args - The argument from the user. args[0] is the command to run.NoSuchMethodExceptionSecurityExceptionIllegalAccessExceptionIllegalArgumentExceptionThrowable - Anything thrown by the example program's mainCopyright © 2009 The Apache Software Foundation