Overview | Module | Use | Devguide | Index

Included Services | Exported Interfaces | Properties' Summary | Properties' Details

:: com :: sun :: star :: packages ::
service PackageStream
Description This service represents a stream contained within a Package. Instances of this class can only be constructed by the implementation of the Package service.

Exported Interfaces
::com::sun::star::container::XNamed | Description This sets or gets the name of the Stream as contained within its parent PackageFolder.
::com::sun::star::container::XChild | Description getParent returns the PackageFolder that the PackageStream is in. This may be the root PackageFolder. setParent moves a PackageStream.
::com::sun::star::io::XActiveDataSink | Description getInputStream provides read access to the contents of this PackageStream. If this PackageStream was a member of the Package when it was instantiated, the XInputStream returned is a Reference to the stream of the whole Package, with limits set on where it can seek to and read from. If the PackageStream is a new addition to the package, then getInputStream returns a Reference to the XInputStream which was specified with setInputStream. setInputStream - provides a stream to the data contained in the PackageStream this must be specified for new PackageStreams added to the Package. If this is called more than once, it will replace the existing stream.
::com::sun::star::beans::XPropertySet | Description This interface provides access to the properties of the package entry. Currently, this supports three entries: 1. Size, describing the uncompressed size of PackageStream. 2. MediaType, a string describing the MIME type of the stream. 3. Compress, a boolean flag to specify whether or not to compress this PackageStream.

Top of Page

Copyright © 2003 Sun Microsystems, Inc.