public abstract class Script extends Object
Modifier and Type | Field and Description |
---|---|
long |
lastModified |
CompiledScript |
script |
static ScriptEngineManager |
scripting |
static boolean |
trackChanges |
Constructor and Description |
---|
Script() |
Modifier and Type | Method and Description |
---|---|
CompiledScript |
compile(Reader reader) |
CompiledScript |
getCompiledScript() |
abstract String |
getExtension() |
abstract String |
getLocation() |
abstract Reader |
getReader() |
abstract Reader |
getReaderIfModified() |
static ScriptEngineManager |
getScripting() |
static void |
main(String[] args) |
static Script |
newScript(File location) |
static Script |
newScript(String location) |
static Script |
newScript(URL location) |
Object |
run(Bindings args) |
public static boolean trackChanges
public static ScriptEngineManager scripting
public CompiledScript script
public long lastModified
public static ScriptEngineManager getScripting()
public abstract Reader getReader() throws IOException
IOException
public abstract Reader getReaderIfModified() throws IOException
IOException
public abstract String getExtension()
public abstract String getLocation()
public CompiledScript getCompiledScript() throws ScriptException
ScriptException
public CompiledScript compile(Reader reader) throws ScriptException
ScriptException
Copyright © 2011 Nuxeo SA. All Rights Reserved.