Package org.apache.lucene.analysis.fa
Class PersianCharFilter
- java.lang.Object
-
- java.io.Reader
-
- org.apache.lucene.analysis.CharStream
-
- org.apache.lucene.analysis.CharFilter
-
- org.apache.lucene.analysis.fa.PersianCharFilter
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Readable
public class PersianCharFilter extends CharFilter
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
Constructors Constructor Description PersianCharFilter(CharStream in)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
read(char[] cbuf, int off, int len)
-
Methods inherited from class org.apache.lucene.analysis.CharFilter
close, correct, correctOffset, mark, markSupported, reset
-
Methods inherited from class java.io.Reader
nullReader, read, read, read, ready, skip, transferTo
-
-
-
-
Constructor Detail
-
PersianCharFilter
public PersianCharFilter(CharStream in)
-
-
Method Detail
-
read
public int read(char[] cbuf, int off, int len) throws IOException
- Overrides:
read
in classCharFilter
- Throws:
IOException
-
-