public class ProjectFactory
extends java.lang.Object
The project factory can be used the read eclipse projects from a workspace.
Constructor and Description |
---|
ProjectFactory() |
Modifier and Type | Method and Description |
---|---|
static EclipseProject[] |
readAllProjectsFromWorkspace(Workspace workspace)
Reads all projects from the workspace.
|
static EclipseProject |
readProjectFromWorkspace(Workspace workspace,
java.lang.String projectName)
Reads the specified project from the workspace.
|
static EclipseProject[] |
readProjectsFromWorkspace(Workspace workspace,
java.lang.String[] projectNames)
Reads the specified projects from the workspace.
|
public static EclipseProject[] readProjectsFromWorkspace(Workspace workspace, java.lang.String[] projectNames) throws FileParserException
workspace
- The workspace which shall be read.projectNames
- The names of the projects that shall be read.FileParserException
- Reading a project failed.public static EclipseProject[] readAllProjectsFromWorkspace(Workspace workspace) throws FileParserException
workspace
- The workspace which projects shall be readed.FileParserException
- Reading a project failed.public static EclipseProject readProjectFromWorkspace(Workspace workspace, java.lang.String projectName) throws FileParserException
workspace
- The Workspace location of the desired project.projectName
- The name of the project.FileParserException
- Reading the project failed.