RenameExtensions (Apache Ant API)
Keywords: org.apache.tools.ant.taskdefs.optional.RenameExtensions class

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.tools.ant.taskdefs.optional
Class RenameExtensions

    java.lang.Object
      org.apache.tools.ant.ProjectComponent
          org.apache.tools.ant.Task
              org.apache.tools.ant.taskdefs.MatchingTask
                  org.apache.tools.ant.taskdefs.optional.RenameExtensions

All Implemented Interfaces:
  SelectorContainer

Deprecated. Use <move> instead

public class RenameExtensions
extends MatchingTask

Version:
  1.2
Author:
  dIon Gillard dion@multitask.com.au, Stefan Bodewig

Field Summary

Fields inherited from class org.apache.tools.ant.taskdefs.MatchingTask
`fileset, useDefaultExcludes`

Fields inherited from class org.apache.tools.ant.Task
`description, location, target, taskName, taskType, wrapper`

Fields inherited from class org.apache.tools.ant.ProjectComponent
`project`

Constructor Summary
`RenameExtensions()` Deprecated. Creates new RenameExtensions

Method Summary
`void` | `execute()` Deprecated. Executes the task.
`void` | `setFromExtension(java.lang.String from)` Deprecated. The string that files must end in to be renamed
`void` | `setReplace(boolean replace)` Deprecated. store replace attribute - this determines whether the target file should be overwritten if present
`void` | `setSrcDir(java.io.File srcDir)` Deprecated. Set the source dir to find the files to be renamed.
`void` | `setToExtension(java.lang.String to)` Deprecated. The string that renamed files will end with on completion

Methods inherited from class org.apache.tools.ant.taskdefs.MatchingTask
`addAnd, addContains, addCustom, addDate, addDepend, addDepth, addFilename, addMajority, addNone, addNot, addOr, addPresent, addSelector, addSize, appendSelector, createExclude, createExcludesFile, createInclude, createIncludesFile, createPatternSet, getDirectoryScanner, getImplicitFileSet, getSelectors, hasSelectors, selectorCount, selectorElements, setCaseSensitive, setDefaultexcludes, setExcludes, setExcludesfile, setFollowSymlinks, setIncludes, setIncludesfile, setProject, XsetIgnore, XsetItems`

Methods inherited from class org.apache.tools.ant.Task
`getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, handleErrorFlush, handleErrorOutput, handleFlush, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName`

Methods inherited from class org.apache.tools.ant.ProjectComponent
`getProject`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### RenameExtensions

    public RenameExtensions()

  Deprecated.
  Creates new RenameExtensions

Method Detail

### setFromExtension

    public void setFromExtension(java.lang.String from)

  Deprecated.
  The string that files must end in to be renamed

### setToExtension

    public void setToExtension(java.lang.String to)

  Deprecated.
  The string that renamed files will end with on completion

### setReplace

    public void setReplace(boolean replace)

  Deprecated.
  store replace attribute - this determines whether the target file should be overwritten if present

### setSrcDir

    public void setSrcDir(java.io.File srcDir)

  Deprecated.
  Set the source dir to find the files to be renamed.

### execute

    public void execute()
                 throws BuildException

  Deprecated.
  Executes the task.

  Overrides:
    `execute` in class `Task`
  Throws:
    `BuildException` - if something goes wrong with the build

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000-2003 Apache Software Foundation. All Rights Reserved.