Top   Module   Use   Manual   Index 
 EXPORTING SERVICES | METHODS' SUMMARY | METHODS' DETAILS 

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

interface XOutputStream

Base Interface
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.



Known Services which Export this Interface

com::sun::star::io::MarkableOutputStream allows to set marks in an outputstream and to later jump back to these marks.
com::sun::star::io::Pipe the implementation of an output stream and an input stream.
com::sun::star::io::MarkableOutputStream allows to set marks in an outputstream and to later jump back to these marks.
com::sun::star::io::Pipe the implementation of an output stream and an input stream.

Methods' 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.

Methods' Details

writeBytes
 
void
writeBytes(
[ in ] 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
 
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
 
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