Package ca.phon.project
Interface ProjectFactory
- All Known Implementing Classes:
DefaultProjectFactory
,DesktopProjectFactory
public interface ProjectFactory
Create projects from
URL
s-
Method Summary
Modifier and TypeMethodDescriptioncreateProject
(File projectFolder) Create project at the specified folder.openProject
(File projectFolder) Open a project from the specified folder.
-
Method Details
-
openProject
Open a project from the specified folder.- Parameters:
projectFolder
-- Throws:
IOException
- if the given file object is not a folder or does not existProjectConfigurationException
- if the given folder is not a phon project
-
createProject
Create project at the specified folder. The name of the project will automatically be set to the value of the final path element.- Parameters:
projectFolder
-- Throws:
IOException
- if a problem occurs while trying to access/write to the given location
-