org.crosswire.jsword.book

## Class BookFilters.CustomBookFilter

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

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `(package private) static class` | `BookFilters.CustomBookFilter.Test` A helper class

  - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `private BookFilters.CustomBookFilter.Test[]` | `tests`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `BookFilters.CustomBookFilter(String match)` Ctor

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `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

          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