|
||||||||||
| 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.
The GNU Lesser General Public License for details.| 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. |
Book |
getFirstBook()
Provide the first book. |
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 |
|---|
getDriverName |
| Methods inherited from interface org.crosswire.jsword.book.BookProvider |
|---|
getBooks |
| 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 BookDriversource - The Book from which to copy data
BookException - If the name is not validpublic boolean isDeletable(Book dead)
BookDriver
isDeletable in interface BookDriverdead - the book to be deleted
public void delete(Book dead)
throws BookException
BookDriver
delete in interface BookDriverdead - the book to be deleted
BookException - If the Book can't be deleted.public Book getFirstBook()
BookProvider
getFirstBook in interface BookProvider
|
Copyright ยจ 2003-2015 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||