org.crosswire.jsword.book
Class BookFilters.BookFeatureFilter
java.lang.Object
org.crosswire.jsword.book.BookFilters.BookFeatureFilter
- All Implemented Interfaces:
- BookFilter
- Enclosing class:
- BookFilters
static class BookFilters.BookFeatureFilter
- extends Object
- implements BookFilter
Filter for books by feature
Method Summary |
boolean |
test(Book book)
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 |
feature
private FeatureType feature
BookFilters.BookFeatureFilter
BookFilters.BookFeatureFilter(FeatureType feature)
test
public boolean test(Book book)
- Description copied from interface:
BookFilter
- Does this given book pass the tests implemented by this filter
- Specified by:
test
in interface BookFilter
- Parameters:
book
- The Book to test
- Returns:
- boolean true if it passes, false otherwise