Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.crosswire.jsword.examples
Class APIExamples.MyBookFilter

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

Field Summary
`private String` | `name`

Constructor Summary
`APIExamples.MyBookFilter(String bookName)`

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`

Field Detail

### name

    private String name

Constructor Detail

### APIExamples.MyBookFilter

    public APIExamples.MyBookFilter(String bookName)

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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Copyright ¨ 2003-2015
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD