|
VisiBroker for Java |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface StorageOperations
| Method Summary | |
|---|---|
void |
close()
Closes the storage. |
void |
open()
Opens the storage for reading and writing. |
Property[] |
read_properties()
Reads all properties from the storage and returns the property sequence. |
Property |
read_property(java.lang.String propertyName)
Read a property from the storage. |
void |
write_properties(Property[] p)
Writes properties to the storage. |
void |
write_property(Property p)
Writes a single property to the storage. |
| Method Detail |
|---|
void write_property(Property p)
throws StorageException
p - Property to be written.
StorageException - If an I/O error occurs while writing the property.
void write_properties(Property[] p)
throws StorageException
p - Array containing all the properties to be written.
StorageException - If an I/O error occurs while writing a property.
Property read_property(java.lang.String propertyName)
throws StorageException,
NameInvalid
propertyName - Name of the property to read.
NameInvalid - If the property name is not known to the container.
StorageException - If an I/O error occurs while reading the property.
Property[] read_properties()
throws StorageException
Property containing all the properties.
StorageException
void close()
throws StorageException
StorageException
void open()
throws StorageException
StorageException
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||