C# Class Lucene.Net.Analysis.CharFilter.MappingCharFilter

Simplistic CharFilter that applies the mappings contained in a NormalizeCharMap to the character stream, and correcting the resulting changes to the offsets. Matching is greedy (longest pattern matching at a given point wins). Replacement is allowed to be the empty string.
Inheritance: BaseCharFilter
Datei anzeigen Open project: paulirwin/lucene.net

Public Methods

Method Description
MappingCharFilter ( NormalizeCharMap normMap, TextReader @in ) : System

Default constructor that takes a Reader.

Reset ( ) : void
read ( ) : int
read ( char cbuf, int off, int len ) : int

Method Details

MappingCharFilter() public method

Default constructor that takes a Reader.
public MappingCharFilter ( NormalizeCharMap normMap, TextReader @in ) : System
normMap org.apache.lucene.analysis.charfilter.NormalizeCharMap
@in System.IO.TextReader
return System

Reset() public method

public Reset ( ) : void
return void

read() public method

public read ( ) : int
return int

read() public method

public read ( char cbuf, int off, int len ) : int
cbuf char
off int
len int
return int