HasCleanup, ReaderSourcepublic class InputStreamReaderSource extends AbstractReaderSource
configuration| Constructor | Description |
|---|---|
InputStreamReaderSource(java.io.InputStream stream,
CompilerConfiguration configuration) |
Creates the ReaderSource from a File descriptor.
|
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
canReopenSource() |
Returns true if the source can be restarted (ie.
|
java.io.Reader |
getReader() |
Returns a new Reader on the underlying source object.
|
cleanup, getLinepublic InputStreamReaderSource(java.io.InputStream stream,
CompilerConfiguration configuration)
stream - stream containing sourceconfiguration - configuration for compiling sourcepublic java.io.Reader getReader()
throws java.io.IOException
java.io.IOException - if there was an error opening for streampublic boolean canReopenSource()
canReopenSource in interface ReaderSourcecanReopenSource in class AbstractReaderSource