org.crosswire.jsword.index.search

## Class SearcherFactory

- java.lang.Object
- - org.crosswire.jsword.index.search.SearcherFactory

-     public final class SearcherFactory
      extends Object

  Factory method for creating a new Searcher.
  Author:
    Joe Walker
  See Also:
    `The GNU Lesser General Public License for details.`

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `private static org.slf4j.Logger` | `log` The log stream

  - ### Constructor Summary

    Constructors
    Modifier | Constructor and Description
    --- | ---
    `private` | `SearcherFactory()` Prevent instantiation

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static Searcher` | `createSearcher(Book book)` Create a new Searcher.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### log

          private static final org.slf4j.Logger log

      The log stream

  - ### Constructor Detail

    - #### SearcherFactory

          private SearcherFactory()

      Prevent instantiation

  - ### Method Detail

    - #### createSearcher

          public static Searcher createSearcher(Book book)
                                         throws InstantiationException

      Create a new Searcher.
      Parameters:
        `book` - the book
      Returns:
        the searcher
      Throws:
        `InstantiationException`