Package | Description |
---|---|
org.crosswire.jsword.book |
The Book package provides an interface to a real store of data.
|
org.crosswire.jsword.book.basic |
The Basic package contains default and abstract implementations of the main
Book classes.
|
org.crosswire.jsword.book.readings |
An implementation of BookDriver and Dictionary that read provide access to
readings planners.
|
org.crosswire.jsword.book.sword |
An implementation of the Book interfaces that reads from SWORD project
books (modules).
|
Modifier and Type | Field and Description |
---|---|
private Set<BookDriver> |
Books.drivers
An array of BookDrivers
|
Modifier and Type | Method and Description |
---|---|
BookDriver |
BookMetaData.getDriver()
Accessor for the driver that runs this Book.
|
BookDriver |
Book.getDriver()
Accessor for the driver that runs this Book.
|
BookDriver[] |
Books.getDrivers()
Get an array of all the known drivers
|
BookDriver[] |
Books.getDriversByClass(Class<? extends BookDriver> type)
Since Books keeps a track of drivers itself, including creating them when
registered it can be hard to get a hold of the current book driver.
|
Modifier and Type | Method and Description |
---|---|
static BookFilter |
BookFilters.getBooksByDriver(BookDriver driver)
A filter that accepts Books that match by book driver.
|
void |
Books.registerDriver(BookDriver driver)
Register the driver, adding its books to the list.
|
Modifier and Type | Method and Description |
---|---|
BookDriver[] |
Books.getDriversByClass(Class<? extends BookDriver> type)
Since Books keeps a track of drivers itself, including creating them when
registered it can be hard to get a hold of the current book driver.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractBookDriver
The AbstractBookDriver class implements some BibleDriver methods, making a
simple read-only BibleDriver.
|
Modifier and Type | Field and Description |
---|---|
private BookDriver |
AbstractBookMetaData.driver |
Modifier and Type | Method and Description |
---|---|
BookDriver |
AbstractBookMetaData.getDriver() |
BookDriver |
AbstractBook.getDriver() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractBookMetaData.setDriver(BookDriver driver) |
Constructor and Description |
---|
DefaultBookMetaData(BookDriver driver,
String name,
BookCategory type)
Ctor with some default values.
|
Modifier and Type | Class and Description |
---|---|
class |
ReadingsBookDriver
A driver for the readings dictionary.
|
Modifier and Type | Field and Description |
---|---|
private static BookDriver |
ReadingsBookDriver.INSTANCE
A shared instance of this driver.
|
Modifier and Type | Method and Description |
---|---|
static BookDriver |
ReadingsBookDriver.instance()
Get the singleton instance of this driver.
|
Modifier and Type | Class and Description |
---|---|
class |
SwordBookDriver
This represents all of the Sword Books (aka modules).
|
Modifier and Type | Field and Description |
---|---|
private static BookDriver |
SwordBookDriver.INSTANCE
A shared instance of this driver.
|
Modifier and Type | Method and Description |
---|---|
static BookDriver |
SwordBookDriver.instance()
Get the singleton instance of this driver.
|