public final class HTMLStripCharFilter
extends org.apache.lucene.analysis.BaseCharFilter
| Constructor and Description |
|---|
HTMLStripCharFilter(org.apache.lucene.analysis.CharStream source) |
HTMLStripCharFilter(org.apache.lucene.analysis.CharStream source,
java.util.Set<java.lang.String> escapedTags) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
read() |
int |
read(char[] cbuf,
int off,
int len) |
addOffCorrectMap, correct, getLastCumulativeDiffpublic HTMLStripCharFilter(org.apache.lucene.analysis.CharStream source)
source - public HTMLStripCharFilter(org.apache.lucene.analysis.CharStream source,
java.util.Set<java.lang.String> escapedTags)
source - escapedTags - Tags in this set (both start and end tags)
will not be filtered out.public int read()
throws java.io.IOException
read in class java.io.Readerjava.io.IOExceptionpublic int read(char[] cbuf,
int off,
int len)
throws java.io.IOException
read in class org.apache.lucene.analysis.CharFilterjava.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class org.apache.lucene.analysis.CharFilterjava.io.IOExceptionCopyright © 2000-2022 Apache Software Foundation. All Rights Reserved.