public class FileReaderSource extends AbstractReaderSource
configuration
Constructor and Description |
---|
FileReaderSource(java.io.File file,
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 FileReaderSource(java.io.File file, CompilerConfiguration configuration)
file
- script source fileconfiguration
- configuration for compiling source