| java.lang.Object com.izforge.izpack.ant.ConfigHolder
ConfigHolder | public class ConfigHolder (Code) | | A nested element holder for the installation configuration document content.
The installation document must be passed in using a CDATA element.
author: Scott Stark version: $Revision: 2056 $ |
Method Summary | |
public void | addText(String rawText) Called by ant to set the config element content. | public String | getText() | static void | parseCompileProperties(String value, Vector<String> fragments, Vector<String> propertyRefs) Taken from the ant org.apache.tools.ant.PropertyHelper and '$' replaced
with '@' to deal with @{x} style property references.
Parses a string containing @{xxx} style property references
into two lists. |
ConfigHolder | ConfigHolder(Project project)(Code) | | |
addText | public void addText(String rawText)(Code) | | Called by ant to set the config element content. The content is scanned
for @{x} style property references and replaced with the x project
property.
Parameters: rawText - - the raw config element body text. |
getText | public String getText()(Code) | | Get the config element body text with @{x} property references replaced
the processed config element body text. |
parseCompileProperties | static void parseCompileProperties(String value, Vector<String> fragments, Vector<String> propertyRefs) throws BuildException(Code) | | Taken from the ant org.apache.tools.ant.PropertyHelper and '$' replaced
with '@' to deal with @{x} style property references.
Parses a string containing @{xxx} style property references
into two lists. The first list is a collection of text fragments, while
the other is a set of string property names. null entries in the
first list indicate a property reference from the second list.
It can be overridden with a more efficient or customized version.
Parameters: value - Text to parse. Must not be null. Parameters: fragments - List to add text fragments to. Must not be null. Parameters: propertyRefs - List to add property names to. Must not be null. exception: BuildException - if the string contains an opening @{ without aclosing } |
|
|