Modifiers | Name | Description |
---|---|---|
static class |
RhinoWorkerUtils.DefaultScopeOperation |
|
static interface |
RhinoWorkerUtils.ScopeOperation |
Type | Name and description |
---|---|
static R |
childScope(Scriptable parentScope, ScopeOperation<R> operation) |
static Scriptable |
parse(File source, String encoding) |
static Scriptable |
parse(File source, String encoding, Action<Context> contextConfig) |
static T |
parseRhino(File rhinoScript, ScopeOperation<T> operation) |
static String |
readFile(File file, String encoding) |
static Object |
toJavaValue(Object object) |
static Map<String, Object> |
toMap(Scriptable obj) |
static void |
writeFile(String content, File destination, String encoding) |