public class NashornScriptHelper extends AbstractScriptHelper
log
Constructor and Description |
---|
NashornScriptHelper(Bindings bindings) |
NashornScriptHelper(Context context) |
Modifier and Type | Method and Description |
---|---|
Object |
eval(String expr,
Bindings bindings)
Evaluate the given expression with the given bindings.
|
call, doCall, eval, getBindings, setBindings, test
public NashornScriptHelper(Bindings bindings)
public NashornScriptHelper(Context context)
public Object eval(String expr, Bindings bindings) throws ScriptException
ScriptHelper
expr
- the expression to evaluatebindings
- the context bindingsScriptException