org.apache.tools.ant.property
public class ResolvePropertyMap extends Object implements GetProperty
Since: Ant 1.8.0
Constructor Summary | |
---|---|
ResolvePropertyMap(Project project, GetProperty master, Collection expanders)
Constructor with a master getproperty and a collection of expanders. |
Method Summary | |
---|---|
Object | getProperty(String name)
Returns the value of a property if it is set. |
void | resolveAllProperties(Map map)
The action method - resolves all the properties in a map. |
void | resolveAllProperties(Map map, String prefix)
The action method - resolves all the properties in a map. |
Parameters: project the current ant project. master the master property holder (usually PropertyHelper) expanders a collection of expanders (usually from PropertyHelper).
Parameters: name name of the property.
Returns: the property value, or null for no match or for name being null.
Deprecated: since Ant 1.8.1, use the two-arg method instead.
The action method - resolves all the properties in a map.Parameters: map the map to resolve properties in.
Parameters: map the map to resolve properties in. prefix the prefix the properties defined inside the map will finally receive - may be null.