|
org.apache.tools.ant.module/3 3.41.2 2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tools.ant.module.api.support.AntScriptUtils
public class AntScriptUtils
Convenience utilities for working with Ant scripts.
| Method Summary | |
|---|---|
static AntProjectCookie |
antProjectCookieFor(FileObject script)
Loads a file believed to be an Ant script. |
static String |
getAntScriptName(FileObject script)
Finds the name of an Ant script. |
static List<String> |
getCallableTargetNames(FileObject script)
Finds the names of callable targets in an Ant script. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static AntProjectCookie antProjectCookieFor(FileObject script)
script - a file assumed to be an Ant script
public static String getAntScriptName(FileObject script)
script - Ant script to inspect
name attribute of
the project element, or null if the file is not a valid Ant script
or the script is anonymous
public static List<String> getCallableTargetNames(FileObject script)
throws IOException
script - Ant script to inspect
IOException - if the script cannot be inspected
|
org.apache.tools.ant.module/3 3.41.2 2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||