org.selman.java3d.book.launcher
Class Application
java.lang.Object
|
+--org.selman.java3d.book.launcher.Application
- public class Application
- extends java.lang.Object
Quick-and-dirty encapsulation of an example
application. Also handles the mechanics of
Runtime.exec'ing the example to run out-
of-process.
Constructor Summary |
Application(java.lang.String className)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RUN_NEW_VM
public static final int RUN_NEW_VM
- See Also:
- Constant Field Values
RUN_WITHIN_VM
public static final int RUN_WITHIN_VM
- See Also:
- Constant Field Values
Application
public Application(java.lang.String className)
run
public void run(int mode)
throws java.lang.Exception
java.lang.Exception
getName
public java.lang.String getName()
createExecCommand
protected java.lang.String createExecCommand(java.lang.String javacPath,
java.lang.String className)
createPathFromClassName
protected java.lang.String createPathFromClassName(java.lang.String className)
setJavacPath
public static void setJavacPath(java.lang.String newJavacPath)