Class PDFReportGenerator
java.lang.Object
org.n52.io.handler.IoHandler<T>
org.n52.io.type.quantity.handler.report.ReportGenerator<Data<QuantityValue>>
org.n52.io.type.quantity.handler.report.PDFReportGenerator
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionPDFReportGenerator(IoParameters parameters, IoProcessChain<Data<QuantityValue>> processChain, ChartIoHandler renderer) -
Method Summary
Modifier and TypeMethodDescriptionvoidencodeAndWriteTo(DataCollection<Data<QuantityValue>> data, OutputStream stream) Encodes and writes previously generated output to the given stream.voidMethods inherited from class org.n52.io.type.quantity.handler.report.ReportGenerator
getAllDatasetMetadatas, getContextMethods inherited from class org.n52.io.handler.IoHandler
getParameters, writeBinary
-
Constructor Details
-
PDFReportGenerator
public PDFReportGenerator(IoParameters parameters, IoProcessChain<Data<QuantityValue>> processChain, ChartIoHandler renderer)
-
-
Method Details
-
generateOutput
- Throws:
IoHandlerException
-
encodeAndWriteTo
public void encodeAndWriteTo(DataCollection<Data<QuantityValue>> data, OutputStream stream) throws IoHandlerException Description copied from class:IoHandlerEncodes and writes previously generated output to the given stream.- Specified by:
encodeAndWriteToin classIoHandler<Data<QuantityValue>>- Parameters:
data- the input data collection to create an output for.stream- the stream to write on the generated ouput.- Throws:
IoHandlerException- if writing output to stream fails.
-