Interface ProjectFactory
- All Known Implementing Classes:
DefaultProjectFactory,DesktopProjectFactory
public interface ProjectFactory
Create or open projects from a given location.
-
Method Summary
Modifier and TypeMethodDescriptioncreateProject(String projectLocation) Create project at the specified folder.openProject(String projectLocation) Open a project from the specified folder.
-
Method Details
-
openProject
Open a project from the specified folder.- Parameters:
projectLocation-- 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:
projectLocation-- Throws:
IOException- if a problem occurs while trying to access/write to the given location or if the given implementation does not support creating a project
-