blob: 3753883a476f6ae58d561e0094ce554ed6123f06 [file] [log] [blame]
package com.ibm.text;
/**
* <code>UnicodeFilter</code> 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 {@link
* Transliterator} to only process selected characters through a
* transformation.
*
* {@link UnicodeFilterLogic}
*/
public interface UnicodeFilter {
/**
* Returns <tt>true</tt> for characters that are in the selected
* subset. In other words, if a character is <b>to be
* filtered</b>, then <tt>isIn()</tt> returns
* <b><tt>false</tt></b>.
*/
public boolean isIn(char c);
}