public class JythonScriptEngine extends AbstractScriptEngine
ASYNC_FINISH, BUILD, DECORATE, INTERACTIVE, LONG, NONE, RUNNING, SHORT, SLEEPING, WAITINGTRACE_SCRIPT_ENGINE| Constructor and Description |
|---|
JythonScriptEngine() |
| Modifier and Type | Method and Description |
|---|---|
String |
getSaveVariableName(String name)
Return a save name to be used for a variable.
|
void |
registerJar(URL url)
Register a jar file and add it to the classpath.
|
void |
setErrorStream(OutputStream errorStream)
Set the default error stream for the interpreter.
|
void |
setInputStream(InputStream inputStream)
Set the default input stream for the interpreter.
|
void |
setOutputStream(OutputStream outputStream)
Set the default output stream for the interpreter.
|
void |
terminateCurrent()
Stops the currently executed piece of code.
|
addExecutionListener, addSecurityCheck, executeAsync, executeSync, extractArguments, getCurrentScriptEngine, getDescription, getErrorStream, getExecutedFile, getInputStream, getOutputStream, getStackTrace, getTerminateOnIdle, getVariable, getVariables, hasVariable, inject, injectUI, isFinished, isIdle, join, removeExecutionListener, removeSecurityCheck, removeVariable, setCloseStreamsOnTerminate, setEngineDescription, setTerminateOnIdle, setVariable, terminateaddJobChangeListener, belongsTo, cancel, create, create, createSystem, createSystem, done, getJobGroup, getJobManager, getName, getPriority, getProperty, getResult, getRule, getState, getThread, isBlocking, isSystem, isUser, join, join, removeJobChangeListener, schedule, schedule, setJobGroup, setName, setPriority, setProgressGroup, setProperty, setRule, setSystem, setThread, setUser, shouldRun, shouldSchedule, sleep, toString, wakeUp, wakeUp, yieldRulegetAdapterequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetName, schedulegetAdapterpublic void terminateCurrent()
IScriptEnginepublic void setOutputStream(OutputStream outputStream)
IScriptEnginesetOutputStream in interface IScriptEnginesetOutputStream in class AbstractScriptEngineoutputStream - default output streampublic void setInputStream(InputStream inputStream)
IScriptEnginesetInputStream in interface IScriptEnginesetInputStream in class AbstractScriptEngineinputStream - default input streampublic void setErrorStream(OutputStream errorStream)
IScriptEnginesetErrorStream in interface IScriptEnginesetErrorStream in class AbstractScriptEngineerrorStream - default error streampublic String getSaveVariableName(String name)
IScriptEnginename - variable name candidatepublic void registerJar(URL url)
IScriptEngineurl - url to load jar file from