|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
public String getProperty(String prop)
prop
- the name of a property
public String evaluate(String text)
text
- some text possibly containing one or more property references
public Map getProperties()
public void addPropertyChangeListener(PropertyChangeListener listener)
listener
- a listener to addpublic void removePropertyChangeListener(PropertyChangeListener listener)
listener
- a listener to remove
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |