| Modifier and Type | Field and Description |
|---|---|
| protected CompilerConfiguration | |
| private String | |
| private BufferedReader | |
| private int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | canReopenSource()
Implements org. |
| public void | cleanup()
Implements org. |
| public String | getLine(int
the number of the line of interest lineNumber, Janitor helper to clean up afterwards janitor)Implements org. |
| configuration | back to summary |
|---|---|
| protected CompilerConfiguration configuration | |
| line | back to summary |
|---|---|
| private String line | |
| lineSource | back to summary |
|---|---|
| private BufferedReader lineSource | |
| number | back to summary |
|---|---|
| private int number | |
| AbstractReaderSource | back to summary |
|---|---|
| public AbstractReaderSource(final CompilerConfiguration configuration) | |
| canReopenSource | back to summary |
|---|---|
| public boolean canReopenSource() Implements org. Returns true if the source can be restarted (ie. if getReader() will return non-null on subsequent calls.
| |
| cleanup | back to summary |
|---|---|
| public void cleanup() Implements org. Cleans up any cached resources used by getLine(). | |
| getLine | back to summary |
|---|---|
| public String getLine(int lineNumber, Janitor janitor) Implements org. Returns a line from the source, or null, if unavailable. If you supply a Janitor, resources will be cached.
| |