mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-04 10:19:33 +02:00
Book.save() is not public now
This commit is contained in:
parent
8a78a11bd8
commit
bb451e9467
10 changed files with 38 additions and 25 deletions
|
@ -151,6 +151,10 @@ public class LibraryService extends Service {
|
|||
return SerializerUtil.serialize(myCollection.getBookById(id));
|
||||
}
|
||||
|
||||
public boolean saveBook(String book, boolean force) {
|
||||
return myCollection.saveBook(SerializerUtil.deserializeBook(book), force);
|
||||
}
|
||||
|
||||
public void removeBook(String book, boolean deleteFromDisk) {
|
||||
myCollection.removeBook(SerializerUtil.deserializeBook(book), deleteFromDisk);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue