Class WkHtmlToPdfHandler
java.lang.Object
ch.tocco.nice2.reporting.impl.freemarker.handlers.WkHtmlToPdfHandler
- All Implemented Interfaces:
FileFormatHandler
-
Constructor Summary
ConstructorDescriptionWkHtmlToPdfHandler
(PdfConverterService pdfConverterService, ConverterEngineFactory converterEngineFactory) -
Method Summary
Modifier and TypeMethodDescriptionvoid
handleFileFormat
(OutputStream target, TemplateEngine templateEngine, Nice2Template nice2Template, com.google.common.io.FileBackedOutputStream fileBackedOutputStream, String businessUnitId, String css, ReportDescription reportDescription, String encoding) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ch.tocco.nice2.reporting.impl.freemarker.handlers.FileFormatHandler
handleFileFormat
-
Constructor Details
-
WkHtmlToPdfHandler
public WkHtmlToPdfHandler(PdfConverterService pdfConverterService, ConverterEngineFactory converterEngineFactory)
-
-
Method Details
-
getFileExtension
- Specified by:
getFileExtension
in interfaceFileFormatHandler
-
handleFileFormat
public void handleFileFormat(OutputStream target, TemplateEngine templateEngine, Nice2Template nice2Template, com.google.common.io.FileBackedOutputStream fileBackedOutputStream, String businessUnitId, String css, ReportDescription reportDescription, String encoding) throws IOException, ConversionException - Specified by:
handleFileFormat
in interfaceFileFormatHandler
- Throws:
IOException
ConversionException
-