| org.apache.tools.ant.Task org.apache.tools.ant.taskdefs.Rename
Rename | public class Rename extends Task (Code) | | Renames a file.
since: Ant 1.1 |
Method Summary | |
public void | execute() | public void | setDest(File dest) Sets the new name of the file. | public void | setReplace(String replace) Sets whether an existing file should be replaced. | public void | setSrc(File src) Sets the file to be renamed. |
setDest | public void setDest(File dest)(Code) | | Sets the new name of the file.
Parameters: dest - the new name of the file. |
setReplace | public void setReplace(String replace)(Code) | | Sets whether an existing file should be replaced.
Parameters: replace - on , if an existing file should be replaced. |
setSrc | public void setSrc(File src)(Code) | | Sets the file to be renamed.
Parameters: src - the file to rename |
|
|