org.crosswire.jsword.book
Class BookFilters.NotBookCategoryFilter

java.lang.Object
  extended by org.crosswire.jsword.book.BookFilters.NotBookCategoryFilter
All Implemented Interfaces:
BookFilter
Enclosing class:
BookFilters

static class BookFilters.NotBookCategoryFilter
extends Object
implements BookFilter

Filter for books by category


Field Summary
private  BookCategory category
           
 
Constructor Summary
BookFilters.NotBookCategoryFilter(BookCategory category)
           
 
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

category

private BookCategory category
Constructor Detail

BookFilters.NotBookCategoryFilter

BookFilters.NotBookCategoryFilter(BookCategory category)
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-2007