Class BaseCharFilter
- java.lang.Object
-
- java.io.Reader
-
- org.apache.lucene.analysis.CharFilter
-
- org.apache.lucene.analysis.charfilter.BaseCharFilter
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
,java.lang.Readable
- Direct Known Subclasses:
HTMLStripCharFilter
,MappingCharFilter
,PatternReplaceCharFilter
public abstract class BaseCharFilter extends CharFilter
Base utility class for implementing aCharFilter
. You subclass this, and then record mappings by callingaddOffCorrectMap(int, int)
, and then invoke the correct method to correct an offset.
-
-
Constructor Summary
Constructors Constructor Description BaseCharFilter(java.io.Reader in)
-
Method Summary
-
Methods inherited from class org.apache.lucene.analysis.CharFilter
close, correctOffset
-
-