public class Rename extends Task
description, location, project| Constructor and Description |
|---|
Rename()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
execute()
Deprecated.
Renames the file
src to dest |
void |
setDest(java.io.File dest)
Deprecated.
Sets the new name of the file.
|
void |
setReplace(java.lang.String replace)
Deprecated.
Sets whether an existing file should be replaced.
|
void |
setSrc(java.io.File src)
Deprecated.
Sets the file to be renamed.
|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypeclone, getDescription, getLocation, getProject, setDescription, setLocation, setProjectpublic void setSrc(java.io.File src)
src - the file to renamepublic void setDest(java.io.File dest)
dest - the new name of the file.public void setReplace(java.lang.String replace)
replace - on, if an existing file should be replaced.public void execute()
throws BuildException
src to destexecute in class TaskBuildException - The exception is
thrown, if the rename operation fails.