| org.netbeans.spi.project.support.ant.PropertyEvaluator
addPropertyChangeListener | void addPropertyChangeListener(PropertyChangeListener listener)(Code) | | Add a listener to changes in particular property values.
As generally true with property change listeners, the old and new
values may both be null in case the true values are not known or not
easily computed; and the property name might be null to signal that any
property might have changed.
Parameters: listener - a listener to add |
evaluate | String evaluate(String text)(Code) | | Evaluate a block of text possibly containing property references.
The syntax is the same as for Ant: ${foo} means the value
of the property foo; $$ is an escape for
$; references to undefined properties are left unsubstituted.
Parameters: text - some text possibly containing one or more property references its value, or null if some problem (such a circular definition) madeit impossible to retrieve the values of some properties |
getProperties | Map<String, String> getProperties()(Code) | | Get a set of all current property definitions at once.
This may be more efficient than evaluating individual properties,
depending on the implementation.
an immutable map from property names to values, or null if themapping could not be computed (e.g. due to a circular definition) |
getProperty | String getProperty(String prop)(Code) | | Evaluate a single property.
Parameters: prop - the name of a property its value, or null if it is not defined or its value could not beretrieved for some reason (e.g. a circular definition) |
removePropertyChangeListener | void removePropertyChangeListener(PropertyChangeListener listener)(Code) | | Remove a listener to changes in particular property values.
Parameters: listener - a listener to remove |
|
|