org.crosswire.jsword.bridge

## Class BookLookup

- java.lang.Object
- - org.crosswire.jsword.bridge.BookLookup

-     public class BookLookup
      extends Object

  BookLookup allows one to lookup via keys. Note: it does not work with GenBook.
  Author:
    DM Smith
  See Also:
    `The GNU Lesser General Public License for details.`

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `private Book` | `book`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `BookLookup(Book book)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `locate(Key key)`
    `static void` | `main(String[] args)` Call with book, key.
    `static void` | `usage()`

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

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

- - ### Field Detail

    - #### book

          private Book book

  - ### Constructor Detail

    - #### BookLookup

          public BookLookup(Book book)

  - ### Method Detail

    - #### locate

          public String locate(Key key)
                        throws BookException

      Throws:
        `BookException`

    - #### main

          public static void main(String[] args)

      Call with book, key. And book is the initials of a book, e.g. KJV. And key is a reference for the work, e.g. "Genesis 1:5-ff". Note: if the key has spaces, it must be quoted.
      Parameters:
        `args` -

    - #### usage

          public static void usage()