org.codehaus.groovy.control.io
[Java] Class FileReaderSource
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.
- Authors:
- Chris Poirier
- Version:
- \$Id\$
FileReaderSource
public FileReaderSource(File file, CompilerConfiguration configuration)
- Creates the ReaderSource from a File descriptor.
- Parameters:
file
- script source fileconfiguration
- configuration for compiling source
getFile
public File getFile()
-
getReader
public Reader getReader()
- Returns a new Reader on the underlying source object.
Copyright © 2003-2013 The Codehaus. All rights reserved.