public class ConfigHolder
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
installText
The config element body text with ${x} property references replaced
|
private org.apache.tools.ant.Project |
project
The parent element project
|
Constructor and Description |
---|
ConfigHolder(org.apache.tools.ant.Project project) |
Modifier and Type | Method and Description |
---|---|
void |
addText(java.lang.String rawText)
Called by ant to set the config element content.
|
java.lang.String |
getText()
Get the config element body text with @{x} property references replaced
|
(package private) static void |
parseCompileProperties(java.lang.String value,
java.util.Vector fragments,
java.util.Vector propertyRefs)
Taken from the ant org.apache.tools.ant.PropertyHelper and '$' replaced
with '@' to deal with @{x} style property references.
|
private org.apache.tools.ant.Project project
private java.lang.String installText
static void parseCompileProperties(java.lang.String value, java.util.Vector fragments, java.util.Vector propertyRefs) throws org.apache.tools.ant.BuildException
value
- Text to parse. Must not be null.fragments
- List to add text fragments to. Must not be null.propertyRefs
- List to add property names to. Must not be null.org.apache.tools.ant.BuildException
- if the string contains an opening @{ without a
closing }public void addText(java.lang.String rawText)
rawText
- - the raw config element body text.public java.lang.String getText()