Overview | Module | Use | Devguide | Index

Services' Summary | Interfaces' Summary | Properties' Summary | Services' Details | Interfaces' Details | Properties' Details

:: com :: sun :: star :: io ::
service ObjectOutputStream
  Description is a stream which allows writing the data of persistent objects. Implementations of this service must fulfill the specifications of the DataOutputStream service; futhermore, the stream needs to be chained to a XMarkableStream. Therefore, it also provides the XMarkableStream interface, but it delegates the calls to the chained object. The written objects are held until this instance is destroyed. The references to the objects are written as four-byte integers and begin at 1. Data format is written:
       short InfoLength
       long ObjectReference // 0 indicates no object
       UTF ServiceName // length of 0 indicates this is only a reference
       long ObjectLength // 0 if it is a reference or no object, otherwise the len of the object data
       Object ObjectData // the data of the object
@garantees -thread safe -allow buffer size is 2 ^ 31 -1 -maximum object reference identifier is the number of objects. -object reference identifier 0 indicates no object

Exported Interfaces - Summary
XObjectOutputStream | allows to write the data to the stream.
XActiveDataSource | allows to set the underlying outputstream
XConnectable | allows to navigate via a chain of streams

Exported Interfaces - Details
XObjectOutputStream
Description allows to write the data to the stream.
XActiveDataSource
Description allows to set the underlying outputstream
XConnectable
Description allows to navigate via a chain of streams

Top of Page

Copyright © 2000, 2014 LibreOffice contributors and/or their affiliates. All rights reserved.

LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.

The Document Foundation acknowledges all community members, please find more info at our website.

Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.