Package org.apache.tools.ant.taskdefs
Class Replace.NestedString
java.lang.Object
org.apache.tools.ant.taskdefs.Replace.NestedString
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
The text of the element.getText()
void
setExpandProperties
(boolean b) Whether properties should be expanded in nested test.
-
Constructor Details
-
NestedString
public NestedString()
-
-
Method Details
-
setExpandProperties
public void setExpandProperties(boolean b) Whether properties should be expanded in nested test.If you use this class via its Java interface the text you add via
addText
has most likely been expanded already so you do not want to set this to true.- Parameters:
b
- boolean- Since:
- Ant 1.8.0
-
addText
-
getText
- Returns:
- the text
-