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
-
public class PDFReportGenerator extends ReportGenerator<Data<QuantityValue>>
-
-
Constructor Summary
Constructors Constructor Description PDFReportGenerator(IoParameters parameters, IoProcessChain<Data<QuantityValue>> processChain, ChartIoHandler renderer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidencodeAndWriteTo(DataCollection<Data<QuantityValue>> data, OutputStream stream)Encodes and writes previously generated output to the given stream.voidgenerateOutput(DataCollection<Data<QuantityValue>> data)-
Methods inherited from class org.n52.io.type.quantity.handler.report.ReportGenerator
getAllDatasetMetadatas, getContext
-
Methods inherited from class org.n52.io.handler.IoHandler
getParameters, writeBinary
-
-
-
-
Constructor Detail
-
PDFReportGenerator
public PDFReportGenerator(IoParameters parameters, IoProcessChain<Data<QuantityValue>> processChain, ChartIoHandler renderer)
-
-
Method Detail
-
generateOutput
public void generateOutput(DataCollection<Data<QuantityValue>> data) throws IoHandlerException
- 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.
-
-