public class

NormalizeCharMap

extends Object
java.lang.Object
   ↳ org.apache.lucene.analysis.NormalizeCharMap

Class Overview

Holds a map of String input to String output, to be used with MappingCharFilter.

Summary

Public Constructors
NormalizeCharMap()
Public Methods
void add(String singleMatch, String replacement)
Records a replacement to be applied to the inputs stream.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public NormalizeCharMap ()

Public Methods

public void add (String singleMatch, String replacement)

Records a replacement to be applied to the inputs stream. Whenever singleMatch occurs in the input, it will be replaced with replacement.

Parameters
singleMatch input String to be replaced
replacement output String