|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eucalyptus.analysesi.save.DefaultSaveManager
public class DefaultSaveManager
Le gestionnaire de sauvegarde d'AnalyseSI par défaut.
Constructor Summary | |
---|---|
DefaultSaveManager()
Le constructeur DefaultSaveManager . |
Method Summary | |
---|---|
void |
fileModified()
Indique que le fichier courant à subi des modification. |
AnalyseSIFile |
getCurrentAnalyseSIFile()
Retourne le fichier de sauvegarde ou null si aucun fichier n'a été modifié. |
Format |
getFormatByExtension(java.lang.String extension)
Retourne le format par rapport à son extension. |
Format |
getFormatByName(java.lang.String name)
Retourne le format par rapport à son nom. |
java.util.List<Format> |
getSupportedFormats()
Retourne la liste des formats supportés. |
boolean |
isModified()
Indique si le fichier courant a subi des modifications après sa dernière sauvegarde. |
AnalyseSIModel |
loadModel(AnalyseSIFile analyseSIFile)
Charge le model depuis un fichier AnalyseSI. |
void |
saveModel(AnalyseSIModel analyseSIModel,
AnalyseSIFile analyseSIFile)
Sauvegarde le model dans un fichier AnalyseSI. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultSaveManager()
DefaultSaveManager
.
Method Detail |
---|
public void fileModified()
fileModified
in interface SaveManager
public AnalyseSIFile getCurrentAnalyseSIFile()
getCurrentAnalyseSIFile
in interface SaveManager
public boolean isModified()
isModified
in interface SaveManager
public void saveModel(AnalyseSIModel analyseSIModel, AnalyseSIFile analyseSIFile) throws SaveModelException, SaveModelNotSupportedException
saveModel
in interface SaveManager
analyseSIModel
- Le modelanalyseSIFile
- Le fichier AnalyseSI
SaveModelException
SaveModelNotSupportedException
public AnalyseSIModel loadModel(AnalyseSIFile analyseSIFile) throws LoadModelException, LoadModelNotSupportedException
loadModel
in interface SaveManager
analyseSIFile
- Le fichier AnalyseSI
LoadModelException
LoadModelNotSupportedException
public java.util.List<Format> getSupportedFormats()
getSupportedFormats
in interface SaveManager
public Format getFormatByName(java.lang.String name)
getFormatByName
in interface SaveManager
name
- Le nom du format
public Format getFormatByExtension(java.lang.String extension)
getFormatByExtension
in interface SaveManager
extension
- L'extension du format
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |