@Override public synchronized void readUids(Book book) throws BookReadingException { readUidsNative(book); if (book.uids().isEmpty()) { book.addUid(BookUtil.createSHA256Uid(book.File)); } }
public String getBookHash() { final UID uid = BookUtil.createSHA256Uid(getReader().Model.Book.File); return uid != null ? uid.Id : null; }
@Override public void readUids(Book book) { if (book.uids().isEmpty()) { book.addUid(BookUtil.createUid(book.File, "SHA-256")); } }
@Override public void readUids(Book book) throws BookReadingException { if (book.uids().isEmpty()) { book.addUid(BookUtil.createUid(book.File, "SHA-256")); } }