org.nuxeo.ecm.core.event.script
Class FileScript
java.lang.Object
org.nuxeo.ecm.core.event.script.Script
org.nuxeo.ecm.core.event.script.FileScript
public class FileScript
- extends Script
Script that comes from a file.
- Author:
- Bogdan Stefanescu
FileScript
public FileScript(File file)
FileScript
public FileScript(String path)
getExtension
public String getExtension()
- Specified by:
getExtension
in class Script
getLocation
public String getLocation()
- Specified by:
getLocation
in class Script
getReader
public Reader getReader()
throws IOException
- Specified by:
getReader
in class Script
- Throws:
IOException
getReaderIfModified
public Reader getReaderIfModified()
throws IOException
- Specified by:
getReaderIfModified
in class Script
- Throws:
IOException
Copyright © 2011 Nuxeo SAS. All Rights Reserved.