org.apache.tools.ant.taskdefs
Class Filter

java.lang.Object
  |
  +--org.apache.tools.ant.Task
        |
        +--org.apache.tools.ant.taskdefs.Filter

public class Filter
extends Task

This task set a token filter that is used by the file copy methods of the project to do token substitution.

Author:
Stefano Mazzocchi stefano@apache.org

Fields inherited from class org.apache.tools.ant.Task
description, project, target
 
Constructor Summary
Filter()
           
 
Method Summary
 void init()
          Called by the project to let the task initialize properly.
 void setToken(java.lang.String token)
           
 void setValue(java.lang.String value)
           
 
Methods inherited from class org.apache.tools.ant.Task
execute, getDescription, setDescription, setTarget
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Filter

public Filter()
Method Detail

setToken

public void setToken(java.lang.String token)

setValue

public void setValue(java.lang.String value)

init

public void init()
          throws BuildException
Description copied from class: Task
Called by the project to let the task initialize properly. Normally it does nothing.
Overrides:
init in class Task
Tags copied from class: Task
Throws:
BuildException - if someting goes wrong with the build


Copyright © 2000 Apache Software Foundation. All Rights Reserved.