|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.codehaus.groovy.control.io.AbstractReaderSource org.codehaus.groovy.control.io.FileReaderSource
public class FileReaderSource extends AbstractReaderSource
A ReaderSource for source files.
Field Summary |
---|
Fields inherited from class AbstractReaderSource | |
---|---|
configuration |
Constructor Summary | |
FileReaderSource(java.io.File file, CompilerConfiguration configuration)
Creates the ReaderSource from a File descriptor. |
Method Summary | |
---|---|
java.io.Reader
|
getReader()
Returns a new Reader on the underlying source object. |
Methods inherited from class AbstractReaderSource | |
---|---|
canReopenSource, cleanup, getLine |
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Constructor Detail |
---|
public FileReaderSource(java.io.File file, CompilerConfiguration configuration)
file
- script source fileconfiguration
- configuration for compiling source
Method Detail |
---|
public java.io.Reader getReader()
Groovy Documentation