org.crosswire.jsword.book
Class BookFilters.BookFeatureFilter

java.lang.Object
  extended by 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


Field Summary
private  FeatureType feature
           
 
Constructor Summary
BookFilters.BookFeatureFilter(FeatureType 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
 

Field Detail

feature

private FeatureType feature
Constructor Detail

BookFilters.BookFeatureFilter

BookFilters.BookFeatureFilter(FeatureType feature)
Method Detail

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

Copyright ยจ 2003-2006