|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.crosswire.jsword.book.basic.AbstractBookDriver
public abstract class AbstractBookDriver
The AbstractBookDriver class implements some BibleDriver methods, making a simple read-only BibleDriver.
for license details.
The copyright to this program is held by it's authors.
Constructor Summary | |
---|---|
AbstractBookDriver()
|
Method Summary | |
---|---|
Book |
create(Book source)
Create a new Book based on a source. |
void |
delete(Book dead)
Delete this Book from the system. |
boolean |
isDeletable(Book dead)
Is this book able to be deleted. |
boolean |
isWritable()
Is this name capable of creating writing data in the correct format as well as reading it? |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.crosswire.jsword.book.BookDriver |
---|
getBooks, getDriverName |
Constructor Detail |
---|
public AbstractBookDriver()
Method Detail |
---|
public boolean isWritable()
BookDriver
isWritable
in interface BookDriver
public Book create(Book source) throws BookException
BookDriver
create
in interface BookDriver
source
- The Book from which to copy data
BookException
- If the name is not validpublic boolean isDeletable(Book dead)
BookDriver
isDeletable
in interface BookDriver
dead
- the book to be deleted
public void delete(Book dead) throws BookException
BookDriver
delete
in interface BookDriver
BookException
- If the Book can't be deleted.
|
Copyright ? 2003-2006 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |