public interface StructuredStore
createSubStore(String)
,
and accessed later using openSubStore(String)
.Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the store.
|
SubStoreWriter |
createSubStore(String name)
Create a new sub-store with the specified name.
|
void |
delete()
Deletes the storage completely (implies close() first)
|
String |
getSystemId()
Gets the path, URI, or other unique identifier for this store
|
String |
getUserVersion()
Gets the user version (if any) set by
setUserVersion(String) . |
SubStoreReader |
openSubStore(String name)
Opens a pre-existing sub-store for read (or write).
|
void |
setUserVersion(String ver)
Sets a user-defined version number for the file.
|
SubStoreWriter createSubStore(String name) throws IOException
name
- Name of the sub-file to create. Must not exist.IOException
SubStoreReader openSubStore(String name) throws IOException
name
- Name of pre-existing sub-store to open.IOException
String getSystemId()
void setUserVersion(String ver) throws IOException
getUserVersion()
.ver
- The version number to set.IOException
String getUserVersion()
setUserVersion(String)
.void close() throws IOException
IOException
void delete() throws IOException
IOException