public abstract class AbstractReaderSource extends Object
For ReaderSources that can choose a parent class, a base that provides common functionality.
Modifiers | Name | Description |
---|---|---|
protected CompilerConfiguration |
configuration |
Constructor and description |
---|
AbstractReaderSource
(CompilerConfiguration configuration) |
Type Params | Return Type | Name and description |
---|---|---|
|
boolean |
canReopenSource() Returns true if the source can be restarted (ie. if getReader() will return non-null on subsequent calls. |
|
void |
cleanup() Cleans up any cached resources used by getLine(). |
|
String |
getLine(int lineNumber, Janitor janitor) Returns a line from the source, or null, if unavailable. |
Copyright © 2003-2021 The Apache Software Foundation. All rights reserved.