|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.sadun.util.LineSet.BaseFilter org.sadun.util.LineSet.ConstantFilter
A constant filter, which always matches or not matches
Constructor Summary | |
LineSet.ConstantFilter(boolean toMatch,
boolean toCut)
|
Method Summary | |
boolean |
match(java.lang.String line,
int index,
java.util.Set info)
Must return true if the given line (at the given position) is to be accepted |
Methods inherited from class org.sadun.util.LineSet.BaseFilter |
onMatch |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.sadun.util.LineSet.Filter |
onMatch |
Constructor Detail |
public LineSet.ConstantFilter(boolean toMatch, boolean toCut)
Method Detail |
public boolean match(java.lang.String line, int index, java.util.Set info)
LineSet.Filter
match
in interface LineSet.Filter
LineSet.Filter.match(java.lang.String, int, java.util.Set)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |