C# Class Lucene.Net.Analysis.BaseCharFilter

* Base utility class for implementing a CharFilter. * You subclass this, and then record mappings by calling * AddOffCorrectMap, and then invoke the correct * method to correct an offset.
Inheritance: CharFilter
Exibir arquivo Open project: synhershko/lucene.net

Protected Methods

Method Description
AddOffCorrectMap ( int off, int cumulativeDiff ) : void
BaseCharFilter ( Lucene.Net.Analysis.CharStream @in ) : System
Correct ( int currentOff ) : int

Private Methods

Method Description
GetLastCumulativeDiff ( ) : int

Method Details

AddOffCorrectMap() protected method

protected AddOffCorrectMap ( int off, int cumulativeDiff ) : void
off int
cumulativeDiff int
return void

BaseCharFilter() protected method

protected BaseCharFilter ( Lucene.Net.Analysis.CharStream @in ) : System
@in Lucene.Net.Analysis.CharStream
return System

Correct() protected method

protected Correct ( int currentOff ) : int
currentOff int
return int