nl.siegmann.epublib.epub.BookProcessor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of epublib-core Show documentation
Show all versions of epublib-core Show documentation
A java library for reading/writing/manipulating epub files
The newest version!
package nl.siegmann.epublib.epub;
import nl.siegmann.epublib.domain.Book;
/**
* Post-processes a book.
*
* Can be used to clean up a book after reading or before writing.
*
* @author paul
*
*/
public interface BookProcessor {
/**
* A BookProcessor that returns the input book unchanged.
*/
public BookProcessor IDENTITY_BOOKPROCESSOR = new BookProcessor() {
@Override
public Book processBook(Book book) {
return book;
}
};
Book processBook(Book book);
}