public class JSEngine extends Object
| Modifier and Type | Method and Description |
|---|---|
Object |
call(String functionName,
Object[] args) |
static JSEngine |
createFromFile(String functionLibFile)
Create a
JSEngine from the contents of a file. |
static JSEngine |
createFromString(String functions)
Create a
JSEngine from a string. |
public static JSEngine createFromString(String functions)
JSEngine from a string.public static JSEngine createFromFile(String functionLibFile)
JSEngine from the contents of a file.public Object call(String functionName, Object[] args) throws NoSuchMethodException, ScriptException
NoSuchMethodExceptionScriptExceptionLicenced under the Apache License, Version 2.0