Class 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.
Implements
System.IDisposable
  Inherited Members
      System.IO.TextReader.Null
    
    
      System.IO.TextReader.Dispose()
    
    
      System.IO.TextReader.Peek()
    
    
      System.IO.TextReader.ReadAsync(System.Char[], System.Int32, System.Int32)
    
    
      System.IO.TextReader.ReadBlock(System.Char[], System.Int32, System.Int32)
    
    
      System.IO.TextReader.ReadBlockAsync(System.Char[], System.Int32, System.Int32)
    
    
      System.IO.TextReader.ReadLine()
    
    
      System.IO.TextReader.ReadLineAsync()
    
    
      System.IO.TextReader.ReadToEnd()
    
    
      System.IO.TextReader.ReadToEndAsync()
    
    
      System.Object.Equals(System.Object)
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.GetHashCode()
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
    
      System.Object.ToString()
    
  Namespace: Lucene.Net.Analysis.CharFilters
Assembly: Lucene.Net.Analysis.Common.dll
Syntax
public class MappingCharFilter : BaseCharFilter, IDisposable
  Constructors
| Improve this Doc View SourceMappingCharFilter(NormalizeCharMap, TextReader)
Default constructor that takes a System.IO.TextReader.
Declaration
public MappingCharFilter(NormalizeCharMap normMap, TextReader in)
  Parameters
| Type | Name | Description | 
|---|---|---|
| NormalizeCharMap | normMap | |
| System.IO.TextReader | in | 
Methods
| Improve this Doc View SourceRead()
Declaration
public override int Read()
  Returns
| Type | Description | 
|---|---|
| System.Int32 | 
Overrides
| Improve this Doc View SourceRead(Char[], Int32, Int32)
Declaration
public override int Read(char[] cbuf, int off, int len)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Char[] | cbuf | |
| System.Int32 | off | |
| System.Int32 | len | 
Returns
| Type | Description | 
|---|---|
| System.Int32 | 
Overrides
| Improve this Doc View SourceReset()
Declaration
public override void Reset()
  Overrides
Implements
      System.IDisposable