public class FileScript extends Script
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, getScripting, main, 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 © 2012 Nuxeo SA. All Rights Reserved.