public class URLScript extends Script
Modifier and Type | Field and Description |
---|---|
protected URLConnection |
conn |
protected URL |
url |
lastModified, script, scripting, trackChanges
Constructor and Description |
---|
URLScript(org.osgi.framework.Bundle bundle,
String path) |
URLScript(String location) |
URLScript(URL url) |
Modifier and Type | Method and Description |
---|---|
String |
getExtension() |
String |
getLocation() |
Reader |
getReader() |
Reader |
getReaderIfModified() |
compile, getCompiledScript, getExtension, getScripting, newScript, newScript, newScript, run
protected URLConnection conn
public URLScript(URL url) throws IOException
IOException
public URLScript(String location) throws IOException
IOException
public URLScript(org.osgi.framework.Bundle bundle, String path) throws IOException
IOException
public String getExtension()
getExtension
in class Script
public String getLocation()
getLocation
in class Script
public Reader getReaderIfModified() throws IOException
getReaderIfModified
in class Script
IOException
public Reader getReader() throws IOException
getReader
in class Script
IOException
Copyright © 2015 Nuxeo SA. All rights reserved.