public class ConfigHolder extends Object
Modifier and Type | Field and Description |
---|---|
private 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(String rawText)
Called by ant to set the config element content.
|
String |
getText()
Get the config element body text with @{x} property references replaced
|
(package private) static void |
parseCompileProperties(String value,
Vector fragments,
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 String installText
ConfigHolder(org.apache.tools.ant.Project project)
static void parseCompileProperties(String value, Vector fragments, 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(String rawText)
rawText
- - the raw config element body text.WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses