|
org.netbeans.modules.project.ant/1 1.12.31 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PropertyEvaluator
A way of mapping property names to values.
This interface defines no independent thread safety, but in typical usage it will be used with the project manager mutex. Changes should be fired synchronously.
PropertyUtils.sequentialPropertyEvaluator(org.netbeans.spi.project.support.ant.PropertyProvider, org.netbeans.spi.project.support.ant.PropertyProvider[])
,
AntProjectHelper.getStandardPropertyEvaluator()
Method Summary | |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Add a listener to changes in particular property values. |
String |
evaluate(String text)
Evaluate a block of text possibly containing property references. |
Map |
getProperties()
Get a set of all current property definitions at once. |
String |
getProperty(String prop)
Evaluate a single property. |
void |
removePropertyChangeListener(PropertyChangeListener listener)
Remove a listener to changes in particular property values. |
Method Detail |
---|
String getProperty(String prop)
prop
- the name of a property
String evaluate(String text)
text
- some text possibly containing one or more property references
Map getProperties()
void addPropertyChangeListener(PropertyChangeListener listener)
listener
- a listener to addvoid removePropertyChangeListener(PropertyChangeListener listener)
listener
- a listener to remove
|
org.netbeans.modules.project.ant/1 1.12.31 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |