Class NormalizeCharMap.Builder
Builds an NormalizeCharMap.
Call add() until you have added all the mappings, then call build() to get a NormalizeCharMap
This is a Lucene.NET EXPERIMENTAL API, use at your own risk
Inheritance
System.Object
    NormalizeCharMap.Builder
  Inherited Members
      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 BuilderMethods
| Improve this Doc View SourceAdd(String, String)
Records a replacement to be applied to the input stream. Whenever
singleMatchreplacementDeclaration
public virtual void Add(string match, string replacement)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | match | input String to be replaced | 
| System.String | replacement | output String | 
Exceptions
| Type | Condition | 
|---|---|
| System.ArgumentException | if is the empty string, or wasalready previously added | 
Build()
Builds the NormalizeCharMap; call this once you are done calling Add(String, String).
Declaration
public virtual NormalizeCharMap Build()Returns
| Type | Description | 
|---|---|
| NormalizeCharMap |