public class Replace.Replacefilter
extends java.lang.Object
| Constructor and Description |
|---|
Replace.Replacefilter() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getProperty()
Get the name of the property whose value is to serve as
the replacement value.
|
java.lang.String |
getReplaceValue()
Get the replacement value for this filter token.
|
java.lang.String |
getToken()
Get the string to search for.
|
java.lang.String |
getValue()
Get replacement
String. |
void |
setProperty(java.lang.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(java.lang.String token)
Set the token to replace.
|
void |
setValue(java.lang.String value)
The replacement string; required if
property |
void |
validate()
Validate the filter's configuration.
|
public void validate()
throws BuildException
BuildException - if any part is invalid.public java.lang.String getReplaceValue()
public void setToken(java.lang.String token)
token - String token.public java.lang.String getToken()
String token.public void setValue(java.lang.String value)
property
is not set.value - String value to replace.public java.lang.String getValue()
String.public void setProperty(java.lang.String property)
value is not set.property - property name.public java.lang.String getProperty()