Methods' Summary |
storeAsStorage |
Stores all string table data to a storage and associates this storage
to this instance as if setStorage was called with
this storage. The modified state will be unmodified after the call.
This method can throw all exceptions thrown by the methods of
::com::sun::star::embed::XStorage
|
setStorage |
Associates a storage to the StringResourceWithStorage instance
which is used on subsequent calls of store.
|
Methods' Details |
storeAsStorage
- Description
- Stores all string table data to a storage and associates this storage
to this instance as if setStorage was called with
this storage. The modified state will be unmodified after the call.
This method can throw all exceptions thrown by the methods of
::com::sun::star::embed::XStorage
|
|
setStorage
- Description
- Associates a storage to the StringResourceWithStorage instance
which is used on subsequent calls of store.
- Parameter Storage
- the storage to be associated to the StringResourceManager
This call has to be used carefully as it removes the storage
previously connected to the StringResourceWithStorage. It may
force the implementation to reload data from the previous storage
before releasing it. The StringResourceManager will be modified
after calling this method as the data isn't stored to the new
storage yet. storeAsStorage should be prefered
as it directly stores the data to the new storage and afterwards
this storage is in sync with the resource data.
- Throws
- ::com::sun::star::lang::IllegalArgumentException
if a null interface is passed as Storage
|
|
Top of Page
Copyright © 2012, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.