public interface DataStreamWriter
Concrete implementations of this interface are responsible for writing data using the specified encoding format and data components. Result data should be written in the outputStream.
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
flush() |
DataComponent |
getDataComponents() |
DataEncoding |
getDataEncoding() |
DataHandler |
getDataHandler() |
ErrorHandler |
getErrorHandler() |
RawDataHandler |
getRawDataHandler() |
void |
reset() |
void |
setDataComponents(DataComponent components) |
void |
setDataEncoding(DataEncoding encoding) |
void |
setDataHandler(DataHandler handler) |
void |
setErrorHandler(ErrorHandler handler) |
void |
setOutput(OutputStream outputStream) |
void |
setParentArray(BlockComponent parentArray) |
void |
setRawDataHandler(RawDataHandler handler) |
void |
stop() |
void |
write(DataBlock data) |
void |
write(OutputStream outputStream) |
DataHandler getDataHandler()
RawDataHandler getRawDataHandler()
ErrorHandler getErrorHandler()
DataComponent getDataComponents()
DataEncoding getDataEncoding()
void setDataHandler(DataHandler handler)
void setRawDataHandler(RawDataHandler handler)
void setErrorHandler(ErrorHandler handler)
void setDataComponents(DataComponent components)
void setDataEncoding(DataEncoding encoding)
void setParentArray(BlockComponent parentArray)
void setOutput(OutputStream outputStream) throws IOException
IOException
void write(OutputStream outputStream) throws IOException
IOException
void write(DataBlock data) throws IOException
IOException
void flush() throws IOException
IOException
void close() throws IOException
IOException
void reset()
void stop()
Copyright © 2016 Sensia Software LLC. All rights reserved.