org.crosswire.jsword.book
Class BookFilters.CustomBookFilter

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

static class BookFilters.CustomBookFilter
extends Object
implements BookFilter

Custom Filter


Nested Class Summary
(package private) static class BookFilters.CustomBookFilter.Test
           
 
Field Summary
private  BookFilters.CustomBookFilter.Test[] tests
           
 
Constructor Summary
BookFilters.CustomBookFilter(String match)
          Ctor
 
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

tests

private BookFilters.CustomBookFilter.Test[] tests
Constructor Detail

BookFilters.CustomBookFilter

public BookFilters.CustomBookFilter(String match)
Ctor

Parameters:
match - The match spec.
See Also:
BookFilters.getCustom(String)
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