org.apache.tools.ant.taskdefs
Class Replace.Replacefilter
java.lang.Object
org.apache.tools.ant.taskdefs.Replace.Replacefilter
- Replace
public class Replace.Replacefilter
extends java.lang.Object
A filter to apply.
String | getProperty() - Get the name of the property whose value is to serve as
the replacement value;
|
String | getReplaceValue() - Get the replacement value for this filter token.
|
String | getToken() - Get the string to search for
|
String | getValue() - Get replacements string
|
void | setProperty(String property) - Set the name of the property whose value is to serve as
the replacement value; required if
value is not set.
|
void | setToken(String token) - Set the token to replace
|
void | setValue(String value) - The replacement string; required if
property
is not set
|
void | validate() - validate the filter's configuration
|
getProperty
public String getProperty()
Get the name of the property whose value is to serve as
the replacement value;
- property or null
getReplaceValue
public String getReplaceValue()
Get the replacement value for this filter token.
- the replacement value
getToken
public String getToken()
Get the string to search for
- current token
getValue
public String getValue()
Get replacements string
- replacement or null
setProperty
public void setProperty(String property)
Set the name of the property whose value is to serve as
the replacement value; required if value
is not set.
property
- propname
setToken
public void setToken(String token)
Set the token to replace
token
- token
setValue
public void setValue(String value)
The replacement string; required if property
is not set
value
- value to replace
Copyright B) 2000-2005 Apache Software Foundation. All Rights Reserved.