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.

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.

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 is 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