public abstract class AbstractBookDriver extends Object implements BookDriver
The GNU Lesser General Public License for details.| Constructor and Description |
|---|
AbstractBookDriver() |
| Modifier and Type | Method and Description |
|---|---|
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?
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDriverNamegetBookspublic boolean isWritable()
BookDriverisWritable in interface BookDriverpublic Book create(Book source) throws BookException
BookDrivercreate in interface BookDriversource - The Book from which to copy dataBookException - If the name is not validpublic boolean isDeletable(Book dead)
BookDriverisDeletable in interface BookDriverdead - the book to be deletedpublic void delete(Book dead) throws BookException
BookDriverdelete in interface BookDriverdead - the book to be deletedBookException - If the Book can't be deleted.public Book getFirstBook()
BookProvidergetFirstBook in interface BookProvider