org.crosswire.jsword.examples
Class APIExamples.MyBookFilter

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


Constructor Summary
APIExamples.MyBookFilter()
           
 
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
 

Constructor Detail

APIExamples.MyBookFilter

APIExamples.MyBookFilter()
Method Detail

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

Copyright ยจ 2003-2007