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.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 [dmsmith555 at yahoo dot com]
See Also:
  `for license details. The copyright to this program is held by it's authors.`

Field Summary
`private Book` | `book`

Constructor Summary
`BookLookup(Book book)`

Method Summary
`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()

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