org.codehaus.groovy.control.io
[Java] Class URLReaderSource
java.lang.Object
org.codehaus.groovy.control.io.AbstractReaderSource
org.codehaus.groovy.control.io.URLReaderSource
public class URLReaderSource
extends AbstractReaderSource
A ReaderSource for source files hosted at a URL.
- Authors:
- Chris Poirier
- Version:
- \$Id\$
Method Summary |
Reader
|
getReader()
Returns a new Reader on the underlying source object.
|
URLReaderSource
public URLReaderSource(URL url, CompilerConfiguration configuration)
- Creates the ReaderSource from a File descriptor.
- Parameters:
url
- url pointing to script sourceconfiguration
- configuration for compiling source
getReader
public Reader getReader()
- Returns a new Reader on the underlying source object.
Copyright © 2003-2013 The Codehaus. All rights reserved.