Nuxeo ECM Projects 5.4.3-SNAPSHOT

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

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

public class URLScript
extends Script

Author:
Bogdan Stefanescu

Field Summary
 
Fields inherited from class org.nuxeo.ecm.core.event.script.Script
lastModified, script, scripting, trackChanges
 
Constructor Summary
URLScript(org.osgi.framework.Bundle bundle, String path)
           
URLScript(String location)
           
URLScript(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

URLScript

public URLScript(URL url)
          throws IOException
Throws:
IOException

URLScript

public URLScript(String location)
          throws IOException
Throws:
IOException

URLScript

public URLScript(org.osgi.framework.Bundle bundle,
                 String path)
          throws IOException
Throws:
IOException
Method Detail

getExtension

public String getExtension()
Specified by:
getExtension in class Script

getLocation

public String getLocation()
Specified by:
getLocation in class Script

getReaderIfModified

public Reader getReaderIfModified()
                           throws IOException
Specified by:
getReaderIfModified in class Script
Throws:
IOException

getReader

public Reader getReader()
                 throws IOException
Specified by:
getReader in class Script
Throws:
IOException

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.