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, getLastCumulativeDiff
correctOffset, mark, markSupported, reset
public 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 Reader
IOException
public int read(char[] cbuf, int off, int len) throws IOException
read
in class CharFilter
IOException
public void close() throws IOException
close
in interface Closeable
close
in class CharFilter
IOException