public class JythonConsoleImpl
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
void |
executeScript(java.lang.String fileName) |
void |
exit(int code) |
void |
interact(java.lang.String banner,
org.python.core.PyObject file) |
boolean |
isInsideExec() |
void |
lowerExecLevel() |
static boolean |
outputDirectedToFile()
Return true if it appears that stdout has been routed to a file.
|
void |
raiseExecLevel() |
void |
runcode(org.python.core.PyObject code) |
void |
sleep(int msec) |
public void raiseExecLevel()
public void lowerExecLevel()
public boolean isInsideExec()
public void sleep(int msec) throws java.lang.InterruptedException
java.lang.InterruptedException
public void exit(int code)
public void executeScript(java.lang.String fileName)
public void interact(java.lang.String banner, org.python.core.PyObject file)
public void runcode(org.python.core.PyObject code)
public static boolean outputDirectedToFile()