Lucene++ - a full-featured, c++ search engine
API Documentation
Go to the documentation of this file.
37 virtual int32_t
read(
wchar_t* buffer, int32_t offset, int32_t length);
virtual int64_t length()
The number of bytes in the file.
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
virtual int32_t read(wchar_t *buffer, int32_t offset, int32_t length)
Read characters into a portion of an array.
FileReader(const String &fileName)
Creates a new FileReader, given the file name to read from.
ifstreamPtr file
Definition: FileReader.h:21
ByteArray fileBuffer
Definition: FileReader.h:26
static const int32_t FILE_ERROR
Definition: FileReader.h:30
static const int32_t FILE_EOF
Definition: FileReader.h:29
Definition: AbstractAllTermDocs.h:12
virtual void reset()
Reset the stream.
virtual int32_t read()
Read a single character.
virtual bool markSupported()
Tell whether this stream supports the mark() operation.
Abstract class for reading character streams.
Definition: Reader.h:15
int64_t _length
Definition: FileReader.h:25
Convenience class for reading character files.
Definition: FileReader.h:15
virtual void close()
Close the stream.
clucene.sourceforge.net