public final class HTMLStripCharFilter extends BaseCharFilter
input| Constructor and Description |
|---|
HTMLStripCharFilter(CharStream source) |
HTMLStripCharFilter(CharStream source,
Set<String> escapedTags) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
read() |
int |
read(char[] cbuf,
int off,
int len) |
addOffCorrectMap, correct, getLastCumulativeDiffcorrectOffset, mark, markSupported, resetpublic HTMLStripCharFilter(CharStream source)
source - public HTMLStripCharFilter(CharStream source, Set<String> escapedTags)
source - escapedTags - Tags in this set (both start and end tags)
will not be filtered out.public int read()
throws IOException
read in class ReaderIOExceptionpublic int read(char[] cbuf,
int off,
int len)
throws IOException
read in class CharFilterIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in class CharFilterIOException