Lucene.Net  3.0.3
Lucene.Net is a .NET port of the Java Lucene Indexing Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
Lucene.Net.Analysis.CharReader Class Reference

CharReader is a Reader wrapper. It reads chars from Reader and outputs CharStream, defining an identify function CorrectOffset method that simply returns the provided offset. More...

Inherits Lucene.Net.Analysis.CharStream.

Public Member Functions

override int CorrectOffset (int currentOff)
 Called by CharFilter(s) and Tokenizer to correct token offset.
 
override int Read (System.Char[] cbuf, int off, int len)
 
bool MarkSupported ()
 
void Mark (int readAheadLimit)
 
void Reset ()
 

Static Public Member Functions

static CharStream Get (System.IO.TextReader input)
 

Protected Member Functions

override void Dispose (bool disposing)
 
- Protected Member Functions inherited from Lucene.Net.Analysis.CharStream
 CharStream (System.IO.StreamReader reader)
 

Detailed Description

CharReader is a Reader wrapper. It reads chars from Reader and outputs CharStream, defining an identify function CorrectOffset method that simply returns the provided offset.

Definition at line 26 of file CharReader.cs.

Member Function Documentation

override int Lucene.Net.Analysis.CharReader.CorrectOffset ( int  currentOff)
virtual

Called by CharFilter(s) and Tokenizer to correct token offset.

Parameters
currentOffoffset as seen in the output
Returns
corrected offset based on the input

Implements Lucene.Net.Analysis.CharStream.

Definition at line 51 of file CharReader.cs.

override void Lucene.Net.Analysis.CharReader.Dispose ( bool  disposing)
protected

Definition at line 56 of file CharReader.cs.

static CharStream Lucene.Net.Analysis.CharReader.Get ( System.IO.TextReader  input)
static

Definition at line 34 of file CharReader.cs.

void Lucene.Net.Analysis.CharReader.Mark ( int  readAheadLimit)

Definition at line 83 of file CharReader.cs.

bool Lucene.Net.Analysis.CharReader.MarkSupported ( )

Definition at line 78 of file CharReader.cs.

override int Lucene.Net.Analysis.CharReader.Read ( System.Char[]  cbuf,
int  off,
int  len 
)

Definition at line 73 of file CharReader.cs.

void Lucene.Net.Analysis.CharReader.Reset ( )

Definition at line 89 of file CharReader.cs.


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