public class URLReaderSource extends AbstractReaderSource
configuration| Constructor and Description | 
|---|
URLReaderSource(URL url,
               CompilerConfiguration configuration)
Creates the ReaderSource from a File descriptor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Reader | 
getReader()
Returns a new Reader on the underlying source object. 
 | 
URI | 
getURI()
Returns a URI for the URL of this source. 
 | 
canReopenSource, cleanup, getLinepublic URLReaderSource(URL url, CompilerConfiguration configuration)
url - url pointing to script sourceconfiguration - configuration for compiling sourcepublic Reader getReader() throws IOException
IOException - if there was an error opening for streampublic URI getURI()