Nuxeo Enterprise Platform 5.4

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, java.lang.String path)
           
URLScript(java.lang.String location)
           
URLScript(java.net.URL url)
           
 
Method Summary
 java.lang.String getExtension()
           
 java.lang.String getLocation()
           
 java.io.Reader getReader()
           
 java.io.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(java.net.URL url)
          throws java.io.IOException
Throws:
java.io.IOException

URLScript

public URLScript(java.lang.String location)
          throws java.io.IOException
Throws:
java.io.IOException

URLScript

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

getExtension

public java.lang.String getExtension()
Specified by:
getExtension in class Script

getLocation

public java.lang.String getLocation()
Specified by:
getLocation in class Script

getReaderIfModified

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

getReader

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

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.