org.crosswire.jsword.book.readings
Class ReadingsBookDriver

java.lang.Object
  extended by org.crosswire.jsword.book.basic.AbstractBookDriver
      extended by org.crosswire.jsword.book.readings.ReadingsBookDriver
All Implemented Interfaces:
BookDriver, BookProvider

public class ReadingsBookDriver
extends AbstractBookDriver

A driver for the readings dictionary.

Author:
Joe Walker [joe at eireneh dot com]
See Also:
for license details. The copyright to this program is held by it's authors.

Nested Class Summary
(package private) static class ReadingsBookDriver.ReadingsFilter
          Get all files mentioned by readings.txt
 
Field Summary
private  Book[] books
          The meta data array
static String DIR_READINGS
          Resources subdir for readings sets
private static BookDriver INSTANCE
          A shared instance of this driver.
 
Constructor Summary
ReadingsBookDriver()
          Setup the array of BookMetaDatas
 
Method Summary
 Book[] getBooks()
          Provide books.
 String getDriverName()
          A short name for this BookDriver
 String[] getInstalledReadingsSets()
          Get a list of the available readings sets
static BookDriver instance()
          Get the singleton instance of this driver.
 
Methods inherited from class org.crosswire.jsword.book.basic.AbstractBookDriver
create, delete, getFirstBook, isDeletable, isWritable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

books

private Book[] books
The meta data array


DIR_READINGS

public static final String DIR_READINGS
Resources subdir for readings sets

See Also:
Constant Field Values

INSTANCE

private static final BookDriver INSTANCE
A shared instance of this driver.

Constructor Detail

ReadingsBookDriver

public ReadingsBookDriver()
Setup the array of BookMetaDatas

Method Detail

getBooks

public Book[] getBooks()
Description copied from interface: BookProvider
Provide books.

Returns:
the books

getDriverName

public String getDriverName()
Description copied from interface: BookDriver
A short name for this BookDriver


instance

public static BookDriver instance()
Get the singleton instance of this driver.

Returns:
this driver instance

getInstalledReadingsSets

public String[] getInstalledReadingsSets()
Get a list of the available readings sets


Copyright ยจ 2003-2007