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, testpublic NashornScriptHelper(Bindings bindings)
public NashornScriptHelper(Context context)
public Object eval(String expr, Bindings bindings) throws ScriptException
ScriptHelperexpr - the expression to evaluatebindings - the context bindingsScriptException