nl.siegmann.epublib.bookprocessor.FixMissingResourceBookProcessor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of epublib-tools Show documentation
Show all versions of epublib-tools Show documentation
A java library for reading/writing/manipulating epub files
The newest version!
package nl.siegmann.epublib.bookprocessor;
import java.util.Collection;
import nl.siegmann.epublib.domain.Book;
import nl.siegmann.epublib.domain.TOCReference;
import nl.siegmann.epublib.epub.BookProcessor;
public class FixMissingResourceBookProcessor implements BookProcessor {
@Override
public Book processBook(Book book) {
return book;
}
private void fixMissingResources(Collection tocReferences, Book book) {
for (TOCReference tocReference: tocReferences) {
if (tocReference.getResource() == null) {
}
}
}
}