public interface IArchive
Modifier and Type | Method and Description |
---|---|
void |
load(DataAdaptor daSource)
Recover an object's state from an archived data source.
|
void |
save(DataAdaptor daArchive)
Save the state of the object to a data adaptor for later reconstruction.
|
void save(DataAdaptor daArchive)
daArchive
- DataAdaptor interface to a data archivevoid load(DataAdaptor daSource) throws DataFormatException
daSource
- DataAdaptor interface to a data sourceDataFormatException
- data format of the adaptor is corrupt