public class ReadingsBookDriver extends AbstractBookDriver
The GNU Lesser General Public License for details.
Modifier and Type | Class and Description |
---|---|
(package private) static class |
ReadingsBookDriver.ReadingsFilter
Get all files mentioned by readings.txt
|
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
ReadingsBookDriver()
Setup the array of BookMetaDatas
|
Modifier and Type | Method and Description |
---|---|
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.
|
create, delete, getFirstBook, isDeletable, isWritable
private Book[] books
public static final String DIR_READINGS
private static final BookDriver INSTANCE
public Book[] getBooks()
BookProvider
public String getDriverName()
BookDriver
public static BookDriver instance()
public String[] getInstalledReadingsSets()