public class FileScript extends Script
Modifier and Type | Field and Description |
---|---|
protected File |
file |
lastModified, script, scripting, trackChanges
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, run
public FileScript(File file)
public FileScript(String path)
public String getExtension()
getExtension
in class Script
public String getLocation()
getLocation
in class Script
public Reader getReader() throws IOException
getReader
in class Script
IOException
public Reader getReaderIfModified() throws IOException
getReaderIfModified
in class Script
IOException
Copyright © 2016 Nuxeo SA. All rights reserved.