Class TextReplaceBookProcessor
java.lang.Object
nl.siegmann.epublib.bookprocessor.HtmlBookProcessor
nl.siegmann.epublib.bookprocessor.TextReplaceBookProcessor
- All Implemented Interfaces:
BookProcessor
Cleans up regular html into xhtml.
Uses HtmlCleaner to do this.
-
Field Summary
FieldsFields inherited from class nl.siegmann.epublib.bookprocessor.HtmlBookProcessor
OUTPUT_ENCODINGFields inherited from interface nl.siegmann.epublib.epub.BookProcessor
IDENTITY_BOOKPROCESSOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]processHtml(Resource resource, Book book, String outputEncoding) private StringprocessLine(String line) Methods inherited from class nl.siegmann.epublib.bookprocessor.HtmlBookProcessor
processBookMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface nl.siegmann.epublib.epub.BookProcessor
processBook
-
Field Details
-
log
private static final org.slf4j.Logger log
-
-
Constructor Details
-
TextReplaceBookProcessor
public TextReplaceBookProcessor()
-
-
Method Details
-
processHtml
- Specified by:
processHtmlin classHtmlBookProcessor- Throws:
IOException
-
processLine
-