public interface BookDriver extends BookProvider
The GNU Lesser General Public License for details.| 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.
|
String |
getDriverName()
A short name for this BookDriver
|
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?
|
getBooks, getFirstBookboolean isWritable()
Book create(Book source) throws BookException
source - The Book from which to copy dataBookException - If the name is not validboolean isDeletable(Book dead)
dead - the book to be deletedvoid delete(Book dead) throws BookException
dead - the book to be deletedBookException - If the Book can't be deleted.String getDriverName()