public class jython
extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
static boolean |
shouldRestart |
Constructor | Description |
---|---|
jython() |
Modifier and Type | Method | Description |
---|---|---|
static void |
main(java.lang.String[] args) |
|
static void |
run(java.lang.String[] args) |
|
static void |
runJar(java.lang.String filename) |
Runs a JAR file, by executing the code found in the file __run__.py, which should be in the
root of the JAR archive.
|
static void |
shutdownInterpreter() |
Run any finalizations on the current interpreter in preparation for a SytemRestart.
|
public static void runJar(java.lang.String filename)
filename
- The path to the filename to run.public static void main(java.lang.String[] args)
public static void run(java.lang.String[] args)
public static void shutdownInterpreter()