|
db4o 8.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Storage
Base interface for Storage adapters that open a Bin
to store db4o database data to.
FileConfiguration.storage(Storage)
Method Summary | |
---|---|
void |
delete(java.lang.String uri)
Deletes the bin for the given URI from the storage. |
boolean |
exists(java.lang.String uri)
returns true if a Bin (file or memory) exists with the passed name. |
Bin |
open(com.db4o.io.BinConfiguration config)
opens a Bin to store db4o database data. |
void |
rename(java.lang.String oldUri,
java.lang.String newUri)
Renames the bin for the given old URI to the new URI. |
Method Detail |
---|
Bin open(com.db4o.io.BinConfiguration config) throws Db4oIOException
Bin
to store db4o database data.
Db4oIOException
boolean exists(java.lang.String uri)
void delete(java.lang.String uri) throws java.io.IOException
uri
- bin URI
java.io.IOException
- if the bin could not be deletedvoid rename(java.lang.String oldUri, java.lang.String newUri) throws java.io.IOException
oldUri
- URI of the existing binnewUri
- future URI of the bin
java.io.IOException
- if the bin could not be deleted
|
db4o 8.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |