|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tools.ant.ProjectHelperRepository
public class ProjectHelperRepository
Repository of ProjectHelper
found in the classpath or via
some System properties.
See the ProjectHelper documentation in the manual.
Method Summary | |
---|---|
java.util.Iterator |
getHelpers()
Get an iterator on the list of project helpers configured. |
static ProjectHelperRepository |
getInstance()
|
ProjectHelper |
getProjectHelperForAntlib(Resource antlib)
Get the helper that will be able to parse the specified antlib. |
ProjectHelper |
getProjectHelperForBuildFile(Resource buildFile)
Get the helper that will be able to parse the specified build file. |
void |
registerProjectHelper(java.lang.Class helperClass)
Register the specified project helper into the repository. |
void |
registerProjectHelper(java.lang.String helperClassName)
Register the specified project helper into the repository. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static ProjectHelperRepository getInstance()
public void registerProjectHelper(java.lang.String helperClassName) throws BuildException
The helper will be added after all the already registered helpers, but before the default one (ProjectHelper2)
helperClassName
- the fully qualified name of the helper
BuildException
- if the class cannot be loaded or if there is no constructor
with no argumentpublic void registerProjectHelper(java.lang.Class helperClass) throws BuildException
The helper will be added after all the already registered helpers, but before the default one (ProjectHelper2)
helperClass
- the class of the helper
BuildException
- if there is no constructor with no argumentpublic ProjectHelper getProjectHelperForBuildFile(Resource buildFile) throws BuildException
null
).
BuildException
public ProjectHelper getProjectHelperForAntlib(Resource antlib) throws BuildException
null
).
BuildException
public java.util.Iterator getHelpers()
ProjectHelper
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |