A ReaderSource for source strings.
Fields inherited from class | Fields |
---|---|
class AbstractReaderSource |
configuration |
Constructor and description |
---|
InputStreamReaderSource
(InputStream stream, CompilerConfiguration configuration) Creates the ReaderSource from a File descriptor. |
Type | Name and description |
---|---|
boolean |
canReopenSource() Returns true if the source can be restarted (ie. if getReader() will return non-null on subsequent calls. |
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. |
Creates the ReaderSource from a File descriptor.
stream
- stream containing sourceconfiguration
- configuration for compiling sourceReturns true if the source can be restarted (ie. if getReader() will return non-null on subsequent calls.
Returns a new Reader on the underlying source object.
TODO: Should return the URI for this source, but we can't know what it is here.
Copyright © 2003-2014 The Codehaus. All rights reserved.