com.ibm.icu.text
public abstract class UnicodeFilter extends Object implements UnicodeMatcher
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.UNKNOWN: ICU 2.0
Constructor Summary | |
---|---|
protected | UnicodeFilter()
(This should not be here; it is declared to make CheckTags
happy. |
Method Summary | |
---|---|
abstract boolean | contains(int c)
Returns true for characters that are in the selected
subset. |
int | matches(Replaceable text, int[] offset, int limit, boolean incremental)
Default implementation of UnicodeMatcher::matches() for Unicode
filters. |
Deprecated: This API is ICU internal only.
(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.isSyntheticUNKNOWN:
UNKNOWN: ICU 2.0
UNKNOWN: ICU 2.0