public abstract class AbstractReaderSource extends Object implements ReaderSource
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 |
---|---|---|
|
public boolean |
canReopenSource() Returns true if the source can be restarted (i.e. if getReader() will return non-null on subsequent calls). |
|
public void |
cleanup() Cleans up any cached resources used by getLine(). |
|
public String |
getLine(int lineNumber, Janitor janitor) Returns a line from the source, or null, if unavailable. |
Copyright © 2003-2022 The Apache Software Foundation. All rights reserved.