| Modifier and Type | Field and Description |
|---|---|
| private InputStream |
| Access | Constructor and Description |
|---|---|
| public | InputStreamReaderSource(InputStream
stream containing source stream, CompilerConfiguration configuration for compiling source configuration)Creates the ReaderSource from a File descriptor. |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | canReopenSource()
Overrides org. Implements org. |
| public Reader | getReader()
Implements org. |
| public URI | Returns: nullImplements org. |
| stream | back to summary |
|---|---|
| private InputStream stream | |
| InputStreamReaderSource | back to summary |
|---|---|
| public InputStreamReaderSource(InputStream stream, CompilerConfiguration configuration) Creates the ReaderSource from a File descriptor.
| |
| canReopenSource | back to summary |
|---|---|
| public boolean canReopenSource() Overrides org. Implements org. Returns true if the source can be restarted (ie. if getReader() will return non-null on subsequent calls.
| |
| getReader | back to summary |
|---|---|
| public Reader getReader() throws IOException Implements org. Returns a new Reader on the underlying source object.
| |
| getURI | back to summary |
|---|---|
| public URI getURI() Implements org. TODO: Should return the URI for this source, but we can't know what it is here.
| |