Typedefs Summary: | |
sequence<StorageInfo> | DirectoryList |
long | OpenMode |
Operations Summary: | |
StorageInfo | getInfo(in string path, in StorageInfoFields mask) raises |
void | setInfo(in string path, in StorageInfo info, in StorageInfoFields mask) raises |
Stream | openStream(in string path, in OpenMode mode) raises |
Storage | openStorage(in string path, in OpenMode mode) raises |
void | copyTo(in Storage target) raises |
DirectoryList | listContents(in string path, in StorageInfoFields mask) raises |
void | erase(in string path) raises |
void | rename(in string path_name, in string new_path_name) raises |
void | commit() raises |
void | revert() raises |
void | unImplemented1() |
void | unImplemented2() |
Operations Inherited from Unknown | |
ref, unref, queryInterface |
Operation Details: |
getInfo: @path: @mask:
Returns a StorageInfo structure which contains the name, content_type and size info.
setInfo: @path: @info: @mask:
openStream: @path: path of the stream to open @mode: open flags
Opens a Stream whose name is @path.
openStorage: @path: path of the storage to open. @mode: open mode.
Returns a storage object for @path.
copyTo: @target: where to copy this storage to.
Copies this storages contents to the @target storage
listContents: @path: path that we want to examine. @mask:
Returns a list of all the Storage and Streams available at @path.
erase: @path: path to the element to erase.
Destroys the element pointed to by @path. The element can be a Storage or a Stream.
rename: @path_name: element name to rename @new_path_name: new name we want to use
Renames a Stream or Storage component inside a Storage.
commit:
Commits any pending changes to the Storage since it was opened. This operation is syncronous.
revert:
Discards any changes since the last commit.