CLucene - a full-featured, c++ search engine
API Documentation


lucene::util::FileReader Class Reference

A helper class which constructs a FileReader with a specified simple encodings, or a given inputstreamreader. More...

#include <Reader.h>

Inheritance diagram for lucene::util::FileReader:

lucene::util::Reader

Public Member Functions

 FileReader (const char *path, const char *enc, const int32_t cachelen=13, const int32_t cachebuff=14)
 ~FileReader ()
int32_t read (const TCHAR *&start, int32_t _min, int32_t _max)
int64_t mark (int32_t readlimit)
int64_t reset (int64_t)

Detailed Description

A helper class which constructs a FileReader with a specified simple encodings, or a given inputstreamreader.

Constructor & Destructor Documentation

lucene::util::FileReader::FileReader ( const char *  path,
const char *  enc,
const int32_t  cachelen = 13,
const int32_t  cachebuff = 14 
)

lucene::util::FileReader::~FileReader (  ) 


Member Function Documentation

int32_t lucene::util::FileReader::read ( const TCHAR *&  start,
int32_t  _min,
int32_t  _max 
)

int64_t lucene::util::FileReader::mark ( int32_t  readlimit  ) 

Reimplemented from lucene::util::Reader.

int64_t lucene::util::FileReader::reset ( int64_t   ) 

Reimplemented from lucene::util::Reader.


The documentation for this class was generated from the following file:

clucene.sourceforge.net