Class BaseCharFilter
java.lang.Object
java.io.Reader
org.apache.lucene.analysis.CharFilter
org.apache.lucene.analysis.charfilter.BaseCharFilter
- All Implemented Interfaces:
Closeable,AutoCloseable,Readable
- Direct Known Subclasses:
HTMLStripCharFilter,MappingCharFilter,PatternReplaceCharFilter
Base utility class for implementing a
CharFilter.
You subclass this, and then record mappings by calling
addOffCorrectMap(int, int), and then invoke the correct
method to correct an offset.-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.lucene.analysis.CharFilter
close, correctOffsetMethods inherited from class java.io.Reader
mark, markSupported, nullReader, read, read, read, read, ready, reset, skip, transferTo
-
Constructor Details
-
BaseCharFilter
-