public interface BookManager
Modifier and Type | Method and Description |
---|---|
void |
deleteBook(BookInfo info) |
void |
detachBook(BookInfo info) |
boolean |
isBookAttached(BookInfo info) |
Book |
readBook(BookInfo info) |
void |
saveAll() |
BookInfo |
saveBook(BookInfo info,
Book book) |
void |
shutdownAutoFileSaving() |
BookInfo |
updateBook(BookInfo info,
Book book) |
Book readBook(BookInfo info) throws IOException
IOException
BookInfo updateBook(BookInfo info, Book book) throws IOException
IOException
BookInfo saveBook(BookInfo info, Book book) throws IOException
IOException
void deleteBook(BookInfo info) throws IOException
IOException
void saveAll() throws IOException
IOException
void detachBook(BookInfo info) throws IOException
IOException
boolean isBookAttached(BookInfo info)
void shutdownAutoFileSaving()
Copyright © 2020. All rights reserved.