public class InputStreamReaderSource extends AbstractReaderSource
configuration| Constructor and Description |
|---|
InputStreamReaderSource(InputStream stream,
CompilerConfiguration configuration)
Creates the ReaderSource from a File descriptor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
canReopenSource()
Returns true if the source can be restarted (ie.
|
Reader |
getReader()
Returns a new Reader on the underlying source object.
|
URI |
getURI()
TODO: Should return the URI for this source, but we can't know what it is here.
|
cleanup, getLinepublic InputStreamReaderSource(InputStream stream, CompilerConfiguration configuration)
stream - stream containing sourceconfiguration - configuration for compiling sourcepublic Reader getReader() throws IOException
IOException - if there was an error opening for streampublic boolean canReopenSource()
canReopenSource in interface ReaderSourcecanReopenSource in class AbstractReaderSourcepublic URI getURI()