org.argouml.persistence
Interface ProjectFilePersister
- All Known Implementing Classes:
- AbstractFilePersister
- public interface ProjectFilePersister
To persist a project to and from file storage.
save
public void save(Project project,
File file)
throws SaveException
- Parameters:
project
- the project to savefile
- The file to write.
- Throws:
SaveException
- if anything goes wrong.
doLoad
public Project doLoad(File file)
throws OpenException
- Parameters:
file
- the file of the project to load.
- Returns:
- the Project
- Throws:
OpenException
- when we fail to open from this url