|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ow2.jonas.ant.jonasbase.Replace.Replacefilter
public class Replace.Replacefilter
A filter to apply.
Constructor Summary | |
---|---|
Replace.Replacefilter()
|
Method Summary | |
---|---|
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 |
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 org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException
- if any part is invalidpublic String getReplaceValue()
public void setToken(String token)
token
- tokenpublic String getToken()
public void setValue(String value)
property
is not set
- Parameters:
value
- value to replace
public String getValue()
public void setProperty(String property)
value
is not set.
property
- propnamepublic String getProperty()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |