public abstract class AbstractReaderSource extends java.lang.Object implements ReaderSource
| Modifier and Type | Field and Description | 
|---|---|
| protected CompilerConfiguration | configuration | 
| Constructor and Description | 
|---|
| AbstractReaderSource(CompilerConfiguration configuration) | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | canReopenSource()Returns true if the source can be restarted (ie. | 
| void | cleanup()Cleans up any cached resources used by getLine(). | 
| java.lang.String | getLine(int lineNumber,
       Janitor janitor)Returns a line from the source, or null, if unavailable. | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetReader, getURIprotected CompilerConfiguration configuration
public AbstractReaderSource(CompilerConfiguration configuration)
public boolean canReopenSource()
canReopenSource in interface ReaderSourcepublic java.lang.String getLine(int lineNumber,
                                Janitor janitor)
getLine in interface ReaderSourcelineNumber - the number of the line of interestjanitor - helper to clean up afterwardspublic void cleanup()
cleanup in interface HasCleanupcleanup in interface ReaderSource