Package org.n52.io.handler.profile
Class ProfileCsvIoHandler
-
Field Summary
Fields inherited from class org.n52.io.handler.CsvIoHandler
UTF8 -
Constructor Summary
ConstructorsConstructorDescriptionProfileCsvIoHandler(IoParameters parameters, IoProcessChain<Data<ProfileValue<?>>> processChain, List<? extends DatasetOutput<ProfileValue<?>>> seriesMetadatas) -
Method Summary
Modifier and TypeMethodDescriptionvoidencodeAndWriteTo(DataCollection<Data<ProfileValue<?>>> data, OutputStream stream) Encodes and writes previously generated output to the given stream.protected StringgetFilenameFor(DatasetOutput<ProfileValue<?>> seriesMetadata) protected String[]getHeader(DatasetOutput<ProfileValue<?>> metadata) protected voidwriteData(DatasetOutput<ProfileValue<?>> metadata, Data<ProfileValue<?>> series, OutputStream stream) Methods inherited from class org.n52.io.handler.CsvIoHandler
csvEncode, getLabel, getMetadatas, getPlatformLabel, isTrajectory, isZipOutput, parseTime, setZipOutput, writeAsZipStream, writeHeader, writeTextMethods inherited from class org.n52.io.handler.IoHandler
getParameters, writeBinary
-
Constructor Details
-
ProfileCsvIoHandler
public ProfileCsvIoHandler(IoParameters parameters, IoProcessChain<Data<ProfileValue<?>>> processChain, List<? extends DatasetOutput<ProfileValue<?>>> seriesMetadatas)
-
-
Method Details
-
encodeAndWriteTo
public void encodeAndWriteTo(DataCollection<Data<ProfileValue<?>>> data, OutputStream stream) throws IoParseException Description copied from class:IoHandlerEncodes and writes previously generated output to the given stream.- Overrides:
encodeAndWriteToin classCsvIoHandler<ProfileValue<?>>- Parameters:
data- the input data collection to create an output for.stream- the stream to write on the generated ouput.- Throws:
IoParseException
-
getHeader
- Specified by:
getHeaderin classCsvIoHandler<ProfileValue<?>>
-
writeData
protected void writeData(DatasetOutput<ProfileValue<?>> metadata, Data<ProfileValue<?>> series, OutputStream stream) throws IOException - Specified by:
writeDatain classCsvIoHandler<ProfileValue<?>>- Throws:
IOException
-
getFilenameFor
- Specified by:
getFilenameForin classCsvIoHandler<ProfileValue<?>>
-