public class ScriptEngine extends AbstractScriptEngine
context
ARGV, ENGINE, ENGINE_VERSION, FILENAME, LANGUAGE, LANGUAGE_VERSION, NAME
Constructor and Description |
---|
ScriptEngine(ScriptEngineFactory scriptEngineFactory) |
Modifier and Type | Method and Description |
---|---|
Bindings |
createBindings() |
Object |
eval(Reader reader,
ScriptContext context) |
Object |
eval(String script,
ScriptContext context) |
Factory |
getBasicFactory() |
ScriptEngineFactory |
getFactory() |
eval, eval, eval, eval, get, getBindings, getContext, getScriptContext, put, setBindings, setContext
public ScriptEngine(ScriptEngineFactory scriptEngineFactory)
public Factory getBasicFactory()
public Object eval(String script, ScriptContext context) throws ScriptException
ScriptException
public Object eval(Reader reader, ScriptContext context) throws ScriptException
ScriptException
public Bindings createBindings()
public ScriptEngineFactory getFactory()
Copyright © 2013 Verhas and Verhas Software Craftsmen. All Rights Reserved.