@Override
 public void readUids(Book book) {
   if (book.uids().isEmpty()) {
     book.addUid(BookUtil.createUid(book.File, "SHA-256"));
   }
 }
Example #2
0
 @Override
 public void readUids(Book book) throws BookReadingException {
   if (book.uids().isEmpty()) {
     book.addUid(BookUtil.createUid(book.File, "SHA-256"));
   }
 }