|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tools.ant.taskdefs.Replace.Replacefilter
public class Replace.Replacefilter
A filter to apply.
Constructor Summary | |
---|---|
Replace.Replacefilter()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Replace.Replacefilter()
Method Detail |
---|
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.
- Parameters:
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()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |