public final class ScriptContextFactory extends Object
| Constructor and Description |
|---|
ScriptContextFactory() |
| Modifier and Type | Method and Description |
|---|---|
static ScriptContext |
getScriptContext(File root,
ScriptContext parent)
Creates script context, sets the root context.
|
public static ScriptContext getScriptContext(File root, ScriptContext parent) throws InstantiationException
root - file that will be threated as root for compilerparent - parent of new ScriptContextInstantiationException - if java compiler is not aviableCopyright © 2014–2015. All rights reserved.