|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.ant4eclipse.tools.ProjectFactory
public class ProjectFactory
The project factory can be used the read eclipse projects from a workspace.
Constructor Summary | |
---|---|
ProjectFactory()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProjectFactory()
Method Detail |
---|
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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |