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:
for license details.
The copyright to this program is held by it's authors.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
book
private Book book
BookLookup
public BookLookup(Book book)
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()