Package org.apache.lucene.analysis.fa
Class PersianCharFilter
java.lang.Object
java.io.Reader
org.apache.lucene.analysis.CharFilter
org.apache.lucene.analysis.fa.PersianCharFilter
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Readable
CharFilter that replaces instances of Zero-width non-joiner with an ordinary space.
-
Field Summary
Fields inherited from class org.apache.lucene.analysis.CharFilter
input
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.lucene.analysis.CharFilter
close, correctOffset
Methods inherited from class java.io.Reader
mark, markSupported, nullReader, read, read, ready, reset, skip, transferTo
-
Constructor Details
-
PersianCharFilter
-
-
Method Details
-
read
- Specified by:
read
in classReader
- Throws:
IOException
-
read
- Overrides:
read
in classReader
- Throws:
IOException
-
correct
protected int correct(int currentOff) - Specified by:
correct
in classCharFilter
-