Deprecated
since 1.5.x. Use <move> instead
| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private Mapper. | |
| private boolean | |
| private File | |
| private String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | setFromExtension(String
the extension of files being renamed. from)The string that files must end in to be renamed |
| public void | setReplace(boolean
if true overwrite any target files that exist. replace)store replace attribute - this determines whether the target file should be overwritten if present |
| public void | |
| public void | setToExtension(String
the extension of the renamed files. to)The string that renamed files will end with on completion |
| fromExtension | back to summary |
|---|---|
| private String fromExtension | |
| globType | back to summary |
|---|---|
| private Mapper. | |
| replace | back to summary |
|---|---|
| private boolean replace | |
| srcDir | back to summary |
|---|---|
| private File srcDir | |
| toExtension | back to summary |
|---|---|
| private String toExtension | |
| RenameExtensions | back to summary |
|---|---|
| public RenameExtensions() Creates new RenameExtensions | |
| execute | back to summary |
|---|---|
| public void execute() throws BuildException Overrides org. Executes the task.
| |
| setFromExtension | back to summary |
|---|---|
| public void setFromExtension(String from) The string that files must end in to be renamed
| |
| setReplace | back to summary |
|---|---|
| public void setReplace(boolean replace) store replace attribute - this determines whether the target file should be overwritten if present
| |
| setSrcDir | back to summary |
|---|---|
| public void setSrcDir(File srcDir) Set the source dir to find the files to be renamed.
| |
| setToExtension | back to summary |
|---|---|
| public void setToExtension(String to) The string that renamed files will end with on completion
| |