Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.core.event.script
Class JARFileScript

java.lang.Object
  extended by org.nuxeo.ecm.core.event.script.Script
      extended by org.nuxeo.ecm.core.event.script.JARFileScript

public class JARFileScript
extends Script

Script that comes from a JAR.

Author:
Bogdan Stefanescu

Field Summary
 
Fields inherited from class org.nuxeo.ecm.core.event.script.Script
lastModified, script, scripting, trackChanges
 
Constructor Summary
JARFileScript(File jar, URL url)
           
 
Method Summary
 String getExtension()
           
 String getLocation()
           
 Reader getReader()
           
 Reader getReaderIfModified()
           
 
Methods inherited from class org.nuxeo.ecm.core.event.script.Script
compile, getCompiledScript, getScripting, main, newScript, newScript, newScript, run
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JARFileScript

public JARFileScript(File jar,
                     URL url)
Method Detail

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

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.