org.argouml.persistence
Interface ProjectFilePersister

All Known Implementing Classes:
AbstractFilePersister

public interface ProjectFilePersister

To persist a project to and from file storage.


Method Summary
 Project doLoad(File file)
           
 void save(Project project, File file)
           
 

Method Detail

save

public void save(Project project,
                 File file)
          throws SaveException
Parameters:
project - the project to save
file - 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


ArgoUML © 1996-2004 (20050222)ArgoUML HomepageArgoUML Developers' pageArgoUML Cookbook