|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.mojo.appfuse.utility.AntUtilities
public class AntUtilities
This class will provide a set of methods to interact with the ant build system at a java level.
Constructor Summary | |
---|---|
protected |
AntUtilities()
Creates a new AntUtilities object. |
Method Summary | |
---|---|
static org.apache.tools.ant.types.FileSet |
createFileset(java.lang.String inDirectory,
java.lang.String inIncludePattern,
java.util.List inExcludePatterns)
This method will create a fileset of files to be processed based on a diretory location and a set of include and exclude patterns. |
static org.apache.tools.ant.Project |
createProject()
This method will create an ant project object. |
static java.util.List |
generateFileNameListFromPattern(java.lang.String inDirectory,
java.lang.String inPattern)
This method will take an ant based search pattern and a starting directory and return all the file names that match that pattern. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected AntUtilities()
Method Detail |
---|
public static org.apache.tools.ant.Project createProject()
public static java.util.List generateFileNameListFromPattern(java.lang.String inDirectory, java.lang.String inPattern)
inDirectory
- The starting directory to use to locate files.inPattern
- The pattern to use in matching file names.
public static org.apache.tools.ant.types.FileSet createFileset(java.lang.String inDirectory, java.lang.String inIncludePattern, java.util.List inExcludePatterns)
inDirectory
- The directory containing the files to be maintained in the fileset.inIncludePatterns
- The list of patterns to match and include in the fileset.inExcludePatterns
- The list of patterns to match and exclude in the fileset.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |