Deprecated
The rename task is deprecated since Ant 1.2. Use move instead.
| Modifier and Type | Field and Description |
|---|---|
| private File | |
| private static final FileUtils | |
| private boolean | |
| private File |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public void | setReplace(String
on, if an existing file should be replaced.Sets whether an existing file should be replaced. |
| public void |
| dest | back to summary |
|---|---|
| private File dest | |
| FILE_UTILS | back to summary |
|---|---|
| private static final FileUtils FILE_UTILS | |
| replace | back to summary |
|---|---|
| private boolean replace | |
| src | back to summary |
|---|---|
| private File src | |
| Rename | back to summary |
|---|---|
| public Rename() | |
| execute | back to summary |
|---|---|
| public void execute() throws BuildException Overrides org. Renames the file
| |
| setDest | back to summary |
|---|---|
| public void setDest(File dest) Sets the new name of the file.
| |
| setReplace | back to summary |
|---|---|
| public void setReplace(String replace) Sets whether an existing file should be replaced.
| |
| setSrc | back to summary |
|---|---|
| public void setSrc(File src) Sets the file to be renamed.
| |