|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Filter
Interface to be implemented by the UnicodeFilter class.
| Method Summary | |
|---|---|
void |
add(java.util.Collection<Range> aRanges)
Stores the collection of Range objects in the filter |
void |
add(int aPoint)
Adds the given code point to the filter |
void |
add(Range aRange)
Adds the given range to the filter |
void |
add(Range[] aRanges)
Adds an array of Range objects to the filter |
void |
assertAll(int[] aPoints)
Asserts that the input array of code points exist in the filter. |
void |
assertNone(int[] aPoints)
Asserts that none of the input array of code points exist in the filter. |
boolean |
has(int aPoint)
Check that the input code point exists in the filter. |
boolean |
hasAll(int[] aPoints)
Check that the input array of code points exist in the filter. |
boolean |
hasNone(int[] aPoints)
Check that the input array of code points do not exist in the filter. |
| Method Detail |
|---|
void add(int aPoint)
throws XcodeException
aPoint - the code point to add to the filter
XcodeException
void add(java.util.Collection<Range> aRanges)
throws XcodeException
aRanges - collection of Range objects to add to the filter
XcodeException
void add(Range aRange)
throws XcodeException
aRange - the range to add to the filter
XcodeException
void add(Range[] aRanges)
throws XcodeException
aRanges - Array of Range objects to add to the filter
XcodeException
void assertAll(int[] aPoints)
throws XcodeException
aPoints - input array of code points to check if they are in the filter
XcodeException
void assertNone(int[] aPoints)
throws XcodeException
aPoints - input array of code points to check if they are not present in the
filter
XcodeExceptionboolean has(int aPoint)
aPoint - code point to check for existence in the filter
boolean hasAll(int[] aPoints)
aPoints - code point to check for existence in the filter
boolean hasNone(int[] aPoints)
aPoints - code point to check for non existence in the filter
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||