public class FileScript extends Script
| Modifier and Type | Field and Description |
|---|---|
protected File |
file |
lastModified, script, scripting| Constructor and Description |
|---|
FileScript(File file) |
FileScript(String path) |
| Modifier and Type | Method and Description |
|---|---|
String |
getExtension() |
String |
getLocation() |
Reader |
getReader() |
Reader |
getReaderIfModified() |
compile, getCompiledScript, getExtension, getScripting, newScript, newScript, newScript, runpublic FileScript(File file)
public FileScript(String path)
public String getExtension()
getExtension in class Scriptpublic String getLocation()
getLocation in class Scriptpublic Reader getReader() throws IOException
getReader in class ScriptIOExceptionpublic Reader getReaderIfModified() throws IOException
getReaderIfModified in class ScriptIOExceptionCopyright © 2019 Nuxeo. All rights reserved.