Package org.nuxeo.ecm.core.event.script
Class JARFileScript
- java.lang.Object
-
- org.nuxeo.ecm.core.event.script.Script
-
- org.nuxeo.ecm.core.event.script.JARFileScript
-
public class JARFileScript extends Script
Script that comes from a JAR.- Author:
- Bogdan Stefanescu
-
-
Constructor Summary
Constructors Constructor Description JARFileScript(File jar, URL url)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getExtension()
String
getLocation()
Reader
getReader()
Reader
getReaderIfModified()
-
Methods inherited from class org.nuxeo.ecm.core.event.script.Script
compile, getCompiledScript, getExtension, getScripting, newScript, newScript, newScript, run
-
-
-
-
Method Detail
-
getExtension
public String getExtension()
- Specified by:
getExtension
in classScript
-
getLocation
public String getLocation()
- Specified by:
getLocation
in classScript
-
getReader
public Reader getReader() throws IOException
- Specified by:
getReader
in classScript
- Throws:
IOException
-
getReaderIfModified
public Reader getReaderIfModified() throws IOException
- Specified by:
getReaderIfModified
in classScript
- Throws:
IOException
-
-