public class URLReaderSource extends AbstractReaderSource
configuration
Constructor and Description |
---|
URLReaderSource(java.net.URL url,
CompilerConfiguration configuration)
Creates the ReaderSource from a File descriptor.
|
Modifier and Type | Method and Description |
---|---|
java.io.Reader |
getReader()
Returns a new Reader on the underlying source object.
|
canReopenSource, cleanup, getLine
public URLReaderSource(java.net.URL url, CompilerConfiguration configuration)
url
- url pointing to script sourceconfiguration
- configuration for compiling source