public class MappingCharFilter extends BaseCharFilter
CharFilter that applies the mappings
contained in a NormalizeCharMap to the character
stream, and correcting the resulting changes to the
offsets.input| Constructor and Description |
|---|
MappingCharFilter(NormalizeCharMap normMap,
CharStream in)
Default constructor that takes a
CharStream. |
MappingCharFilter(NormalizeCharMap normMap,
Reader in)
Easy-use constructor that takes a
Reader. |
| Modifier and Type | Method and Description |
|---|---|
int |
read() |
int |
read(char[] cbuf,
int off,
int len) |
addOffCorrectMap, correct, getLastCumulativeDiffclose, correctOffset, mark, markSupported, resetpublic MappingCharFilter(NormalizeCharMap normMap, CharStream in)
CharStream.public MappingCharFilter(NormalizeCharMap normMap, Reader in)
Reader.public int read()
throws IOException
read in class ReaderIOExceptionpublic int read(char[] cbuf,
int off,
int len)
throws IOException
read in class CharFilterIOException