interface XOutputStream in module com::sun::star::io::

(Global Index)

Syntax

interface XOutputStream : com::sun::star::uno::XInterface ;

Description

This is the basic interface to write data to a stream.

See the streaming document for further information on chaining and piping streams.

Method Summary

writeBytes writes the whole sequence to the stream. (blocking call)

flush flushes out of the stream any data that may exist in buffers.

closeOutput gets called to indicate that all data has been written.

Known Services Which Export this Interface

com::sun::star::io::MarkableOutputStream

com::sun::star::io::Pipe

com::sun::star::io::MarkableOutputStream

com::sun::star::io::Pipe

Method Details



writeBytes

Syntax

void writeBytes (
sequence< byte > aData )
raises ( com::sun::star::io::NotConnectedException , com::sun::star::io::BufferSizeExceededException , com::sun::star::io::IOException );

Description

writes the whole sequence to the stream. (blocking call)


flush

Syntax

void flush ();
raises ( com::sun::star::io::NotConnectedException , com::sun::star::io::BufferSizeExceededException , com::sun::star::io::IOException );

Description

flushes out of the stream any data that may exist in buffers.


closeOutput

Syntax

void closeOutput ();
raises ( com::sun::star::io::NotConnectedException , com::sun::star::io::BufferSizeExceededException , com::sun::star::io::IOException );

Description

gets called to indicate that all data has been written.

If this method has not yet been called, no attached XInputStream receives an EOF signal. No further bytes may be written after this method has been called.

Top of Page