public interface Saveable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ALL_SAVE_ATTRIB
Attribute of the save configuration file
|
static java.lang.String |
PATH_ATTRIB |
static java.lang.String |
SAVE_DIRECTORY_PARAM
Constants to retrieve the save directory in the SaveParameters
|
Modifier and Type | Method and Description |
---|---|
void |
backup(SaveParameters save_config)
The backup method gives a way to an object to save its data
|
void |
restore(SaveParameters save_config)
The restore method gives a way to an object to restore its data from a backup.
|
static final java.lang.String SAVE_DIRECTORY_PARAM
static final java.lang.String ALL_SAVE_ATTRIB
static final java.lang.String PATH_ATTRIB
void backup(SaveParameters save_config) throws SDXException
save-config
- contains the save-directory and other options (among the implementations)an
- SDXException if there is an errorSDXException
void restore(SaveParameters save_config) throws SDXException
save_config
- an
- SDXException if there is an errorSDXException
Copyright © 2000-2010 Ministere de la culture et de la communication / AJLSM. All Rights Reserved.