Package com.db4o.io
Class FileStorage
- java.lang.Object
-
- com.db4o.io.FileStorage
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFileStorage.FileBin
-
Constructor Summary
Constructors Constructor Description FileStorage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete(java.lang.String uri)Deletes the bin for the given URI from the storage.booleanexists(java.lang.String uri)returns true if the specified file system path already exists.Binopen(BinConfiguration config)opens aBinon the specified URI (file system path).voidrename(java.lang.String oldUri, java.lang.String newUri)Renames the bin for the given old URI to the new URI.
-
-
-
Method Detail
-
open
public Bin open(BinConfiguration config) throws Db4oIOException
opens aBinon the specified URI (file system path).- Specified by:
openin interfaceStorage- Throws:
Db4oIOException
-
exists
public boolean exists(java.lang.String uri)
returns true if the specified file system path already exists.
-
delete
public void delete(java.lang.String uri) throws java.io.IOExceptionDescription copied from interface:StorageDeletes the bin for the given URI from the storage.
-
rename
public void rename(java.lang.String oldUri, java.lang.String newUri) throws java.io.IOExceptionDescription copied from interface:StorageRenames the bin for the given old URI to the new URI. If a bin for the new URI exists, it will be overwritten.
-
-