|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.tools.ant.Task | +--org.apache.tools.ant.taskdefs.MatchingTask | +--org.apache.tools.ant.taskdefs.Delete
Deletes a single file or a set of files defined by a pattern.
Inner classes inherited from class org.apache.tools.ant.taskdefs.MatchingTask |
MatchingTask.NameEntry |
Fields inherited from class org.apache.tools.ant.taskdefs.MatchingTask |
excludeList, includeList, useDefaultExcludes |
Fields inherited from class org.apache.tools.ant.Task |
description, location, project, target, taskName, taskType |
Constructor Summary | |
Delete()
|
Method Summary | |
void |
execute()
Make it so. |
void |
setDir(java.lang.String dir)
Set the directory from which files are to be deleted |
void |
setFile(java.lang.String file)
Set the name of a single file to be removed. |
void |
setVerbose(java.lang.String verbose)
Used to force listing of all names of deleted files. |
Methods inherited from class org.apache.tools.ant.taskdefs.MatchingTask |
createExclude, createInclude, getDirectoryScanner, getProperty, setDefaultexcludes, setExcludes, setExcludesfile, setIgnore, setIncludes, setIncludesfile, setItems |
Methods inherited from class org.apache.tools.ant.Task |
getDescription, getLocation, getOwningTarget, getProject, getTaskName, init, log, log, setDescription, setLocation, setOwningTarget, setTaskName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Delete()
Method Detail |
public void setFile(java.lang.String file)
file
- the file to be deletedpublic void setDir(java.lang.String dir)
dir
- the directory path.public void setVerbose(java.lang.String verbose)
verbose
- "true" or "on"public void execute() throws BuildException
execute
in class Task
BuildException
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |