org.crosswire.jsword.examples
Class APIExamples.MyBookFilter
java.lang.Object
org.crosswire.jsword.examples.APIExamples.MyBookFilter
- All Implemented Interfaces:
- BookFilter
- Enclosing class:
- APIExamples
static class APIExamples.MyBookFilter
- extends Object
- implements BookFilter
A simple BookFilter that looks for a Bible by name.
Method Summary |
boolean |
test(Book bk)
Does this given book pass the tests implemented by this filter |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
APIExamples.MyBookFilter
APIExamples.MyBookFilter()
test
public boolean test(Book bk)
- Description copied from interface:
BookFilter
- Does this given book pass the tests implemented by this filter
- Specified by:
test
in interface BookFilter
- Parameters:
bk
- The Book to test
- Returns:
- boolean true if it passes, false otherwise