(incubating) | The Free and Open Productivity Suite

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

:: com :: sun :: star :: embed ::

service FileSystemStorage
Description
This is a service that allows to get access to a file system folder using storage hierarchy.

Included Services - Summary
BaseStorage

This service describes the base functionality of storages. (details)

Included Services - Details
BaseStorage
Description
This service describes the base functionality of storages.

Please see below the description of additional requirements for the file system storage implementation.

interface ::com::sun::star::lang::XComponent

A file system storage is created either by StorageFactory or by XStorage interface and is controlled by refcounting. In case refcounting is decreased to zero the storage will be disposed automatically.

In case a storage object is disposed the elements ( substorages and substreams ) are not affected.

interface XStorage
XStorage::openStorageElement
This method returns FileSystemStorage service implementation.
XStorage::copyLastCommitTo
Since this service implementation supports no transaction this method just creates a copy of the storage in it's current state.
XStorage::copyStorageElementLastCommitTo
Since this service implementation supports no transaction this method just creates a copy of the storage in it's current state.
XStorage::removeStorageElement
If the element is opened and it is a stream element the removing will fail. If the element is opened and it is a storage element, all the contents that can be removed will be removed.
property URL
This property is not optional for this service.

 
Top of Page

Apache OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.

Copyright & License
Apache and the Apache feather logos 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.