The Free and Open Productivity Suite
Follow us on Twitter: @ApacheOO

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


:: com :: sun :: star ::

module packages
Description
Package file format interfaces.

Nested Modules
manifest
zip
Services
Package The Package is a service that provides access to a set of files and folders contained within a Package. One instance of the Package service exists for each Package file to be manipulated. Each instance is created with an argument which specifies the URL of the Package file to which the user requires access. If the instance is created without arguments, it must be initialised with the ::com::sun::star::lang::XInitialization service methods before it is a valid instance of the service.
PackageFolder The PackageFolder service represents a single folder or directory within a Package. Instances of this service can only be constructed by an implementation of the Package service and not via the service manager.
PackageFolderEnumeration This service provides an iterator over the contents of a given instance of a PackageFolder. This provides a "snapshot" of the contents of the PackageFolder at the time of construction. It is the responsibility of the caller to ensure that any given member of the enumeration refers to a valid PackageStream or PackageFolder.
PackageStream This service represents a stream contained within a Package. Instances of this class can only be constructed by the implementation of the Package service.
Interfaces
XDataSinkEncrSupport Allows to get access to the stream of a PackageStream.
Exceptions
EncryptionNotAllowedException This exception can be thrown in case object is encrypted when it is not allowed
NoEncryptionException This exception can be thrown in case object is not encrypted one as expected.
NoRawFormatException This exception can be thrown in case provided stream is not a raw stream representing encrypted package stream.
WrongPasswordException This exception can be thrown in case wrong password was provided.
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Website Feedback | Contact Us | Donate | Thanks

Apache, the Apache feather logo, and OpenOffice are trademarks of The Apache Software Foundation. OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.