Package | Description |
---|---|
org.crosswire.jsword.book.basic |
The Basic package contains default and abstract implementations of the main
Book classes.
|
org.crosswire.jsword.passage |
The core responsibility of the passage package is to store and collate
information about the structure of the Bible - The most important classes are
Passage , PassageTally and Strongs . |
org.crosswire.jsword.versification |
The core responsibility of the versification package is to understand verse references.
|
org.crosswire.jsword.versification.system |
The System package defines each of the known Versifications.
|
Modifier and Type | Field and Description |
---|---|
private Set<BibleBook> |
AbstractPassageBook.bibleBooks
lazy of cache of bible books contained in the Book
|
Modifier and Type | Method and Description |
---|---|
private Set<BibleBook> |
AbstractPassageBook.calculateBibleBookList()
Iterate all books checking if document contains a verse from the book
|
private Set<BibleBook> |
AbstractPassageBook.fromString(String list) |
Set<BibleBook> |
AbstractPassageBook.getBibleBooks()
This implementation lazily inits, saves to the JSword conf file and also caches the book list for future use.
|
private Set<BibleBook> |
AbstractPassageBook.getBibleBooksInternal()
Obtains the set of bible books from the internal configuration file, creating it if required.
|
Modifier and Type | Method and Description |
---|---|
private String |
AbstractPassageBook.toString(Set<BibleBook> books) |
Modifier and Type | Field and Description |
---|---|
private BibleBook |
Verse.book
The book of the Bible.
|
Modifier and Type | Method and Description |
---|---|
BibleBook |
Verse.getBook()
Return the book that we refer to
|
Modifier and Type | Method and Description |
---|---|
static int |
AccuracyType.getChapter(Versification v11n,
BibleBook lbook,
String chapter)
Interprets the chapter value, which is either a number or "ff" or "$"
(meaning "what follows")
|
static int |
AccuracyType.getVerse(Versification v11n,
BibleBook lbook,
int lchapter,
String verse)
Interprets the verse value, which is either a number or "ff" or "$"
(meaning "what follows")
|
Constructor and Description |
---|
Verse(Versification v11n,
BibleBook book,
int chapter,
int verse)
Create a Verse from book, chapter and verse numbers, throwing up if the
specified Verse does not exist.
|
Verse(Versification v11n,
BibleBook book,
int chapter,
int verse,
boolean patchUp)
Create a Verse from book, chapter and verse numbers, patching up if the
specified verse does not exist.
|
Verse(Versification v11n,
BibleBook book,
int chapter,
int verse,
String subIdentifier)
Create a Verse from book, chapter and verse numbers, throwing up if the
specified Verse does not exist.
|
Modifier and Type | Field and Description |
---|---|
private BibleBook |
BookName.book |
protected BibleBook[] |
BibleBookList.books
The ordered books in this list
|
Modifier and Type | Field and Description |
---|---|
private LinkedHashMap<BibleBook,BookName> |
BibleNames.NameList.books
The collection of BookNames by BibleBooks.
|
private static Map<String,BibleBook> |
BibleBook.exactMatches |
private static Map<String,BibleBook> |
BibleBook.osisMap
A quick lookup based on OSIS name for the book
|
Modifier and Type | Method and Description |
---|---|
static BibleBook |
BibleBook.fromExactOSIS(String osis) |
static BibleBook |
BibleBook.fromOSIS(String osis)
Case insensitive search for BibleBook for an OSIS name.
|
BibleBook |
BookName.getBook()
Get the BibleBook to which this set of names is tied.
|
BibleBook |
Versification.getBook(int ordinal)
Get the BibleBook by its position in this Versification.
|
BibleBook |
BibleBookList.getBook(int ordinal)
Get the BibleBook by its position in this Versification.
|
BibleBook |
Versification.getBook(String find)
Get a book from its name.
|
BibleBook |
BibleNames.getBook(String find)
Get a book from its name.
|
(package private) BibleBook |
BibleNames.NameList.getBook(String find,
boolean fuzzy)
Get a book from its name.
|
BibleBook |
Versification.getFirstBook()
Return the first book in the list.
|
BibleBook |
BibleBookList.getFirstBook()
Return the first book in the list.
|
BibleBook |
Versification.getLastBook()
Return the first book in the list.
|
BibleBook |
BibleBookList.getLastBook()
Return the first book in the list.
|
BibleBook |
Versification.getNextBook(BibleBook book)
Given a BibleBook, get the next BibleBook in this Versification.
|
BibleBook |
BibleBookList.getNextBook(BibleBook book)
Given a BibleBook, get the next BibleBook in this Versification.
|
BibleBook |
Versification.getPreviousBook(BibleBook book)
Given a BibleBook, get the previous BibleBook in this Versification.
|
BibleBook |
BibleBookList.getPreviousBook(BibleBook book)
Given a BibleBook, get the previous BibleBook in this Versification.
|
static BibleBook |
BibleBook.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BibleBook[] |
BibleBook.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
Iterator<BibleBook> |
Versification.getBookIterator()
Get the BibleBooks in this Versification.
|
Iterator<BibleBook> |
BibleBookList.iterator()
Get the BibleBooks in this Versification.
|
Modifier and Type | Method and Description |
---|---|
abstract boolean |
DivisionName.contains(BibleBook book)
Determine whether the book is contained within the section.
|
boolean |
BibleBookList.contains(BibleBook book)
Does this Versification contain the BibleBook.
|
boolean |
Versification.containsBook(BibleBook book)
Does this Versification contain the BibleBook.
|
BookName |
Versification.getBookName(BibleBook book)
Get the BookName.
|
BookName |
BibleNames.getBookName(BibleBook book)
Get the BookName.
|
(package private) BookName |
BibleNames.NameList.getBookName(BibleBook book) |
int |
Versification.getLastChapter(BibleBook book)
Get the last valid chapter number for a book.
|
int |
Versification.getLastVerse(BibleBook book,
int chapter)
Get the last valid verse number for a chapter.
|
String |
Versification.getLongName(BibleBook book)
Get the full name of a book (e.g.
|
String |
BibleNames.getLongName(BibleBook book)
Get the full name of a book (e.g.
|
(package private) String |
BibleNames.NameList.getLongName(BibleBook book)
Get the full name of a book (e.g.
|
BibleBook |
Versification.getNextBook(BibleBook book)
Given a BibleBook, get the next BibleBook in this Versification.
|
BibleBook |
BibleBookList.getNextBook(BibleBook book)
Given a BibleBook, get the next BibleBook in this Versification.
|
int |
BibleBookList.getOrdinal(BibleBook book)
Where does the BibleBook come in the order of books of the Bible.
|
String |
Versification.getPreferredName(BibleBook book)
Get the preferred name of a book.
|
String |
BibleNames.getPreferredName(BibleBook book)
Get the preferred name of a book.
|
(package private) String |
BibleNames.NameList.getPreferredName(BibleBook book)
Get the preferred name of a book.
|
BibleBook |
Versification.getPreviousBook(BibleBook book)
Given a BibleBook, get the previous BibleBook in this Versification.
|
BibleBook |
BibleBookList.getPreviousBook(BibleBook book)
Given a BibleBook, get the previous BibleBook in this Versification.
|
static DivisionName |
DivisionName.getSection(BibleBook book)
Determine the section to which this book belongs.
|
String |
Versification.getShortName(BibleBook book)
Get the short name of a book (e.g.
|
String |
BibleNames.getShortName(BibleBook book)
Get the short name of a book (e.g.
|
(package private) String |
BibleNames.NameList.getShortName(BibleBook book)
Get the short name of a book (e.g.
|
Verse |
Versification.patch(BibleBook book,
int chapter,
int verse)
Fix up these verses so that they are as valid a possible.
|
private void |
BibleNames.NameList.store(ResourceBundle resources,
BibleBook book,
Map fullMap,
Map shortMap,
Map altMap) |
void |
Versification.validate(BibleBook book,
int chapter,
int verse)
Does the following represent a real verse?.
|
boolean |
Versification.validate(BibleBook book,
int chapter,
int verse,
boolean silent)
Does the following represent a real verse?.
|
Constructor and Description |
---|
BibleBookList(BibleBook[] books)
Create an ordered BibleBookList from the input.
|
BookName(Locale locale,
BibleBook book,
String longName,
String shortName,
String alternateNames)
Create a BookName for a Book of the Bible in a given language.
|
Versification(String name,
BibleBook[] booksOT,
BibleBook[] booksNT,
int[][] lastVerseOT,
int[][] lastVerseNT)
Construct a Versification.
|
Versification(String name,
BibleBook[] booksOT,
BibleBook[] booksNT,
int[][] lastVerseOT,
int[][] lastVerseNT)
Construct a Versification.
|
Modifier and Type | Field and Description |
---|---|
(package private) static BibleBook[] |
SystemDefault.BOOKS_NONE |
(package private) static BibleBook[] |
SystemVulg.BOOKS_NT |
(package private) static BibleBook[] |
SystemSynodalProt.BOOKS_NT |
(package private) static BibleBook[] |
SystemSynodal.BOOKS_NT |
(package private) static BibleBook[] |
SystemSegond.BOOKS_NT |
(package private) static BibleBook[] |
SystemOrthodox.BOOKS_NT |
(package private) static BibleBook[] |
SystemNRSVA.BOOKS_NT |
(package private) static BibleBook[] |
SystemNRSV.BOOKS_NT |
(package private) static BibleBook[] |
SystemMT.BOOKS_NT |
(package private) static BibleBook[] |
SystemLuther.BOOKS_NT |
(package private) static BibleBook[] |
SystemLeningrad.BOOKS_NT |
(package private) static BibleBook[] |
SystemLXX.BOOKS_NT |
(package private) static BibleBook[] |
SystemKJVA.BOOKS_NT |
(package private) static BibleBook[] |
SystemKJV.BOOKS_NT |
(package private) static BibleBook[] |
SystemGerman.BOOKS_NT |
(package private) static BibleBook[] |
SystemDefault.BOOKS_NT |
(package private) static BibleBook[] |
SystemDarbyFR.BOOKS_NT |
(package private) static BibleBook[] |
SystemCatholic2.BOOKS_NT |
(package private) static BibleBook[] |
SystemCatholic.BOOKS_NT |
(package private) static BibleBook[] |
SystemCalvin.BOOKS_NT |
(package private) static BibleBook[] |
SystemVulg.BOOKS_OT |
(package private) static BibleBook[] |
SystemSynodalProt.BOOKS_OT |
(package private) static BibleBook[] |
SystemSynodal.BOOKS_OT |
(package private) static BibleBook[] |
SystemSegond.BOOKS_OT |
(package private) static BibleBook[] |
SystemOrthodox.BOOKS_OT |
(package private) static BibleBook[] |
SystemNRSVA.BOOKS_OT |
(package private) static BibleBook[] |
SystemNRSV.BOOKS_OT |
(package private) static BibleBook[] |
SystemMT.BOOKS_OT |
(package private) static BibleBook[] |
SystemLuther.BOOKS_OT |
(package private) static BibleBook[] |
SystemLeningrad.BOOKS_OT |
(package private) static BibleBook[] |
SystemLXX.BOOKS_OT |
(package private) static BibleBook[] |
SystemKJVA.BOOKS_OT |
(package private) static BibleBook[] |
SystemKJV.BOOKS_OT |
(package private) static BibleBook[] |
SystemGerman.BOOKS_OT |
(package private) static BibleBook[] |
SystemDefault.BOOKS_OT |
(package private) static BibleBook[] |
SystemDarbyFR.BOOKS_OT |
(package private) static BibleBook[] |
SystemCatholic2.BOOKS_OT |
(package private) static BibleBook[] |
SystemCatholic.BOOKS_OT |
(package private) static BibleBook[] |
SystemCalvin.BOOKS_OT |