org.apache.tools.ant.taskdefs
Class Delete

java.lang.Object
  |
  +--org.apache.tools.ant.Task
        |
        +--org.apache.tools.ant.taskdefs.Delete

public class Delete
extends Task

Deletes a single file.

Author:
stefano@apache.org

Fields inherited from class org.apache.tools.ant.Task
description, project, target
 
Constructor Summary
Delete()
           
 
Method Summary
 void execute()
          Called by the project to let the task do it's work.
 void setFile(java.lang.String File)
           
 
Methods inherited from class org.apache.tools.ant.Task
getDescription, init, setDescription, setTarget
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Delete

public Delete()
Method Detail

setFile

public void setFile(java.lang.String File)

execute

public void execute()
             throws BuildException
Description copied from class: Task
Called by the project to let the task do it's work. Normally it does nothing.
Overrides:
execute in class Task
Tags copied from class: Task
Throws:
BuildException - if someting goes wrong with the build


Copyright © 2000 Apache Software Foundation. All Rights Reserved.