Package org.apache.calcite.util
Class SourceStringReader
java.lang.Object
java.io.Reader
java.io.StringReader
org.apache.calcite.util.SourceStringReader
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Readable
Extension to
StringReader
that allows the original string to be
recovered.-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class java.io.StringReader
close, mark, markSupported, read, read, ready, reset, skip
Methods inherited from class java.io.Reader
nullReader, read, read, transferTo
-
Constructor Details
-
SourceStringReader
Creates a source string reader.- Parameters:
s
- String providing the character stream
-
-
Method Details
-
getSourceString
Returns the source string.
-