Ant API: Class RenameExtensions

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

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

    java.lang.Object
      |
      +--org.apache.tools.ant.Task
            |
            +--org.apache.tools.ant.taskdefs.MatchingTask
                  |
                  +--org.apache.tools.ant.taskdefs.optional.RenameExtensions

public class RenameExtensions
extends MatchingTask

Version:
Author:
  dion

Inner classes inherited from class org.apache.tools.ant.taskdefs.MatchingTask
`MatchingTask.NameEntry`

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

Fields inherited from class org.apache.tools.ant.Task
`description, project, target`

Constructor Summary
`RenameExtensions()` Creates new RenameExtensions

Method Summary
`void` | `execute()` Executes the task, i.e.
`void` | `setFromExtension(java.lang.String from)` store fromExtension
`void` | `setReplace(java.lang.String replaceString)` store replace attribute - this determines whether the target file should be overwritten if present
`void` | `setSrcDir(java.lang.String srcDirName)` Set the source dir to find the files to be renamed.
`void` | `setToExtension(java.lang.String to)` store toExtension

Methods inherited from class org.apache.tools.ant.taskdefs.MatchingTask
`createExclude, createInclude, getDirectoryScanner, getProperty, setDefaultexcludes, setExcludes, setIgnore, setIncludes, setItems`

Methods inherited from class org.apache.tools.ant.Task
`getDescription, init, setDescription, setTarget`

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

Constructor Detail

### RenameExtensions

    public RenameExtensions()

  Creates new RenameExtensions

Method Detail

### setFromExtension

    public void setFromExtension(java.lang.String from)

  store fromExtension

### setToExtension

    public void setToExtension(java.lang.String to)

  store toExtension

### setReplace

    public void setReplace(java.lang.String replaceString)

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

### setSrcDir

    public void setSrcDir(java.lang.String srcDirName)

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

### execute

    public void execute()
                 throws BuildException

  Executes the task, i.e. does the actual compiler call
  Overrides:
    execute in class Task
  Tags copied from class: Task
  Throws:
    BuildException - if someting goes wrong with the build

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

Copyright © 2000 Apache Software Foundation. All Rights Reserved.