public class CJKWidthCharFilter extends BaseCharFilter
CharFilter
that normalizes CJK width differences:
NOTE: this char filter is the exact counterpart of CJKWidthFilter
.
input
Constructor and Description |
---|
CJKWidthCharFilter(Reader in)
Default constructor that takes a
Reader . |
Modifier and Type | Method and Description |
---|---|
int |
read() |
int |
read(char[] cbuf,
int off,
int len) |
addOffCorrectMap, correct, getLastCumulativeDiff
close, correctOffset
public int read() throws IOException
read
in class Reader
IOException
public int read(char[] cbuf, int off, int len) throws IOException
read
in class Reader
IOException
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.