|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface DatabaseFiles
This interface defines the set of files (one or several) that is used by a database backend.
| Method Summary | |
|---|---|
void |
delete()
Delete the database file(s). |
void |
replaceContents(DatabaseFiles dbf)
Replace the contents of the database file(s) with the contents of the supplied file(s). |
| Method Detail |
|---|
void delete()
throws WrappedIOException
WrappedIOException - On I/O errors.
void replaceContents(DatabaseFiles dbf)
throws WrappedIOException
The contents of the database files should be replaced using the
ReadWritableFile.replaceContents(org.entityfs.ReadWritableFile)
method. A consequence of that is that the source files should be deleted.
dbf - The file(s) containing the data.
WrappedIOException - On I/O errors.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||