Package org.n52.io.handler
Class IoHandler<T extends Data<? extends AbstractValue<?>>>
java.lang.Object
org.n52.io.handler.IoHandler<T>
- Direct Known Subclasses:
ChartIoHandler,CsvIoHandler,ReportGenerator
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voidencodeAndWriteTo(DataCollection<T> data, OutputStream stream) Encodes and writes previously generated output to the given stream.protected IoParametersvoidwriteBinary(OutputStream outputStream)
-
Field Details
-
i18n
-
-
Constructor Details
-
IoHandler
-
-
Method Details
-
encodeAndWriteTo
protected abstract void encodeAndWriteTo(DataCollection<T> data, OutputStream stream) throws IoHandlerException Encodes and writes previously generated output to the given stream.- 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.
-
writeBinary
- Throws:
IoHandlerException
-
getParameters
-