32 virtual int32_t
read(
wchar_t* buffer, int32_t offset, int32_t length);
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
Abstract class for reading character streams.
Definition: Reader.h:15
Convenience class for reading strings.
Definition: StringReader.h:15
virtual bool markSupported()
Tell whether this stream supports the mark() operation.
virtual int64_t length()
The number of bytes in the stream.
StringReader(const String &str)
Creates a new StringReader, given the String to read from.
virtual void close()
Close the stream.
int32_t position
Definition: StringReader.h:25
virtual int32_t read(wchar_t *buffer, int32_t offset, int32_t length)
Read characters into a portion of an array.
virtual int32_t read()
Read a single character.
String str
Definition: StringReader.h:21
virtual void reset()
Reset the stream.
Definition: AbstractAllTermDocs.h:12