public class DeleteTask extends VfsTask
TOOD - Allow selector to be specified.
| Constructor | Description |
|---|---|
DeleteTask() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
execute() |
Executes this task.
|
void |
setFile(java.lang.String file) |
Sets the file/folder to delete.
|
void |
setIncludes(java.lang.String filesList) |
Sets the files to include.
|
void |
setSrcDir(java.lang.String srcDir) |
Sets the source directory.
|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclone, getDescription, getLocation, getProject, setDescription, setLocation, setProjectbindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypecloseManager, resolveFilepublic DeleteTask()
public void setFile(java.lang.String file)
file - The name of the file.public void setSrcDir(java.lang.String srcDir)
srcDir - The source directory.public void setIncludes(java.lang.String filesList)
filesList - The list of files.public void execute() throws org.apache.tools.ant.BuildException
execute in class org.apache.tools.ant.Taskorg.apache.tools.ant.BuildException - if an error occurs.