Class XslBookProcessor
- java.lang.Object
-
- nl.siegmann.epublib.bookprocessor.HtmlBookProcessor
-
- nl.siegmann.epublib.bookprocessor.XslBookProcessor
-
- All Implemented Interfaces:
BookProcessor
public class XslBookProcessor extends HtmlBookProcessor implements BookProcessor
Uses the given xslFile to process all html resources of a Book.
-
-
Field Summary
Fields Modifier and Type Field Description private static org.slf4j.Loggerlogprivate javax.xml.transform.Transformertransformer-
Fields inherited from class nl.siegmann.epublib.bookprocessor.HtmlBookProcessor
OUTPUT_ENCODING
-
Fields inherited from interface nl.siegmann.epublib.epub.BookProcessor
IDENTITY_BOOKPROCESSOR
-
-
Constructor Summary
Constructors Constructor Description XslBookProcessor(java.lang.String xslFileName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]processHtml(Resource resource, Book book, java.lang.String encoding)-
Methods inherited from class nl.siegmann.epublib.bookprocessor.HtmlBookProcessor
processBook
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface nl.siegmann.epublib.epub.BookProcessor
processBook
-
-
-
-
Method Detail
-
processHtml
public byte[] processHtml(Resource resource, Book book, java.lang.String encoding) throws java.io.IOException
- Specified by:
processHtmlin classHtmlBookProcessor- Throws:
java.io.IOException
-
-