| java.lang.Object com.ibm.icu.text.UnicodeFilter
All known Subclasses: com.ibm.icu.text.UnicodeSet,
UnicodeFilter | abstract public class UnicodeFilter implements UnicodeMatcher(Code) | | UnicodeFilter defines a protocol for selecting a
subset of the full range (U+0000 to U+FFFF) of Unicode characters.
Currently, filters are used in conjunction with classes like
Transliterator to only process selected characters through a
transformation.
|
Constructor Summary | |
protected | UnicodeFilter() (This should not be here; it is declared to make CheckTags
happy. |
Method Summary | |
abstract public boolean | contains(int c) Returns true for characters that are in the selected
subset. | public int | matches(Replaceable text, int[] offset, int limit, boolean incremental) Default implementation of UnicodeMatcher::matches() for Unicode
filters. |
UnicodeFilter | protected UnicodeFilter()(Code) | | (This should not be here; it is declared to make CheckTags
happy. Java inserts a synthetic constructor and CheckTags
can't tell that it's synthetic.)
TODO Remove this when the JDK property implements MemberDoc.isSynthetic
|
contains | abstract public boolean contains(int c)(Code) | | Returns true for characters that are in the selected
subset. In other words, if a character is to be
filtered, then contains() returns
false.
|
matches | public int matches(Replaceable text, int[] offset, int limit, boolean incremental)(Code) | | Default implementation of UnicodeMatcher::matches() for Unicode
filters. Matches a single 16-bit code unit at offset.
|
|
|