|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.lucene.analysis.NormalizeCharMap
public class NormalizeCharMap
Holds a map of String input to String output, to be used
with MappingCharFilter
.
Constructor Summary | |
---|---|
NormalizeCharMap()
|
Method Summary | |
---|---|
void |
add(java.lang.String singleMatch,
java.lang.String replacement)
Records a replacement to be applied to the inputs stream. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NormalizeCharMap()
Method Detail |
---|
public void add(java.lang.String singleMatch, java.lang.String replacement)
singleMatch
occurs in
the input, it will be replaced with
replacement
.
singleMatch
- input String to be replacedreplacement
- output String
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |