org.apache.tools.ant.taskdefs .MatchingTask org.apache.tools.ant.taskdefs.optional .RenameExtensions RenameExtensions public RenameExtensions()(Code) Creates new RenameExtensions
setFromExtension public void setFromExtension(String from)(Code) The string that files must end in to be renamed
Parameters: from - the extension of files being renamed.
setReplace public void setReplace(boolean replace)(Code) store replace attribute - this determines whether the target file
should be overwritten if present
Parameters: replace - if true overwrite any target files that exist.
setSrcDir public void setSrcDir(File srcDir)(Code) Set the source dir to find the files to be renamed.
Parameters: srcDir - the source directory.
setToExtension public void setToExtension(String to)(Code) The string that renamed files will end with on
completion
Parameters: to - the extension of the renamed files.