|
||||||||||
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
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 replacements 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 invalidpublic java.lang.String getReplaceValue()
public void setToken(java.lang.String token)
token
- tokenpublic java.lang.String getToken()
public void setValue(java.lang.String value)
property
is not set
- Parameters:
value
- value to replace
public java.lang.String getValue()
public void setProperty(java.lang.String property)
value
is not set.
property
- propnamepublic java.lang.String getProperty()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |