public class ScriptRunner
extends java.lang.Object
Constructor and Description |
---|
ScriptRunner(java.lang.String[] args) |
Modifier and Type | Method and Description |
---|---|
void |
addTempHeader(java.lang.String line) |
void |
close() |
static ScriptRunner |
getInstance(java.lang.String[] args) |
org.python.util.PythonInterpreter |
getPythonInterpreter() |
void |
runPython(java.lang.String bundlePath) |
void |
runPython(java.lang.String bundlePath,
java.io.File pyFile) |
void |
runPythonAsync(java.lang.String bundlePath) |
public static ScriptRunner getInstance(java.lang.String[] args)
public void addTempHeader(java.lang.String line)
public org.python.util.PythonInterpreter getPythonInterpreter()
public void runPython(java.lang.String bundlePath, java.io.File pyFile) throws java.io.IOException
java.io.IOException
public void close()
public void runPythonAsync(java.lang.String bundlePath) throws java.io.IOException
java.io.IOException
public void runPython(java.lang.String bundlePath) throws java.io.IOException
java.io.IOException