public class JythonScriptEngine extends AbstractReplScriptEngine
ASYNC_FINISH, BUILD, DECORATE, INTERACTIVE, LONG, NONE, RUNNING, SHORT, SLEEPING, WAITINGTRACE_SCRIPT_ENGINE| Constructor and Description |
|---|
JythonScriptEngine() |
| Modifier and Type | Method and Description |
|---|---|
void |
registerJar(java.net.URL url)
Register a jar file and add it to the classpath.
|
void |
setErrorStream(java.io.OutputStream errorStream)
Set the default error stream for the interpreter.
|
void |
setInputStream(java.io.InputStream inputStream)
Set the default input stream for the interpreter.
|
void |
setOutputStream(java.io.OutputStream outputStream)
Set the default output stream for the interpreter.
|
void |
terminateCurrent()
Stops the currently executed piece of code.
|
getDefinedVariables, getLastExecutionResult, getTerminateOnIdle, getType, isIdle, setTerminateOnIdle, terminate, toStringaddExecutionListener, addSecurityCheck, executeAsync, executeSync, extractArguments, getCurrentScriptEngine, getDescription, getErrorStream, getExecutedFile, getInputStream, getOutputStream, getStackTrace, getVariable, getVariables, hasVariable, inject, injectUI, isFinished, join, removeExecutionListener, removeSecurityCheck, setCloseStreamsOnTerminate, setEngineDescription, setExecutionRootFile, setVariableaddJobChangeListener, 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, waitaddExecutionListener, addSecurityCheck, executeAsync, executeSync, getDescription, getErrorStream, getExecutedFile, getInputStream, getName, getOutputStream, getVariable, getVariables, hasVariable, inject, injectUI, isFinished, join, removeExecutionListener, removeSecurityCheck, schedule, setCloseStreamsOnTerminate, setVariablegetAdapterpublic void terminateCurrent()
IScriptEnginepublic void setOutputStream(java.io.OutputStream outputStream)
IScriptEnginesetOutputStream in interface IScriptEnginesetOutputStream in class AbstractScriptEngineoutputStream - default output streampublic void setInputStream(java.io.InputStream inputStream)
IScriptEnginesetInputStream in interface IScriptEnginesetInputStream in class AbstractScriptEngineinputStream - default input streampublic void setErrorStream(java.io.OutputStream errorStream)
IScriptEnginesetErrorStream in interface IScriptEnginesetErrorStream in class AbstractScriptEngineerrorStream - default error streampublic void registerJar(java.net.URL url)
IScriptEngineurl - url to load jar file from