Overview | Module | Use | Devguide | Index

Methods' Summary | Methods' Details | Attributes' Summary | Attributes' Details

:: com :: sun :: star :: io ::
interface XOutputStream
  Base Hierarchy
      ::com::sun::star::uno::XInterface
       |
       +-XOutputStream
Description This is the basic interface to write data to a stream. See the streaming document for further information on chaining and piping streams.

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 > raises( | aData ) NotConnectedException, BufferSizeExceededException, IOException );
Description writes the whole sequence to the stream. (blocking call)
flush
void flush() | raises( | NotConnectedException, BufferSizeExceededException, IOException );
Description flushes out of the stream any data that may exist in buffers.
closeOutput
void closeOutput() | raises( | NotConnectedException, BufferSizeExceededException, 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

Copyright © 2003 Sun Microsystems, Inc.