public class ScriptingUtil extends Object
Modifier and Type | Field and Description |
---|---|
static String |
copyright |
static String |
GROOVY_FILE_NAME_PATTERN |
static org.slf4j.Logger |
logger |
Constructor and Description |
---|
ScriptingUtil() |
Modifier and Type | Method and Description |
---|---|
static GroovyScriptEngine |
createScriptEngine(File classpathFile,
ClassLoader parent) |
static Class<?> |
getGroovyClass(File scriptFile) |
static File |
getGroovyScriptFile(File storageDir,
String pageId) |
public static final String copyright
public static final org.slf4j.Logger logger
public static final String GROOVY_FILE_NAME_PATTERN
public static Class<?> getGroovyClass(File scriptFile) throws IOException, ScriptException, ResourceException
public static GroovyScriptEngine createScriptEngine(File classpathFile, ClassLoader parent)