| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tools.ant.property.ResolvePropertyMap
public class ResolvePropertyMap
Class to resolve properties in a map. This class is explicitly not threadsafe.
| Constructor Summary | |
|---|---|
| ResolvePropertyMap(Project project,
                   GetProperty master,
                   java.util.Collection<PropertyExpander> expanders)Constructor with a master getproperty and a collection of expanders. | |
| Method Summary | |
|---|---|
|  java.lang.Object | getProperty(java.lang.String name)Returns the value of a property if it is set. | 
|  void | resolveAllProperties(java.util.Map<java.lang.String,java.lang.Object> map)Deprecated. since Ant 1.8.2, use the three-arg method instead. | 
|  void | resolveAllProperties(java.util.Map<java.lang.String,java.lang.Object> map,
                     java.lang.String prefix)Deprecated. since Ant 1.8.2, use the three-arg method instead. | 
|  void | resolveAllProperties(java.util.Map<java.lang.String,java.lang.Object> map,
                     java.lang.String prefix,
                     boolean prefixValues)The action method - resolves all the properties in a map. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public ResolvePropertyMap(Project project,
                          GetProperty master,
                          java.util.Collection<PropertyExpander> expanders)
project - the current ant project.master - the master property holder (usually PropertyHelper)expanders - a collection of expanders (usually from PropertyHelper).| Method Detail | 
|---|
public java.lang.Object getProperty(java.lang.String name)
getProperty in interface GetPropertyname - name of the property.
public void resolveAllProperties(java.util.Map<java.lang.String,java.lang.Object> map)
map - the map to resolve properties in.
public void resolveAllProperties(java.util.Map<java.lang.String,java.lang.Object> map,
                                 java.lang.String prefix)
map - the map to resolve properties in.prefix - the prefix the properties defined inside the map
 will finally receive - may be null.
public void resolveAllProperties(java.util.Map<java.lang.String,java.lang.Object> map,
                                 java.lang.String prefix,
                                 boolean prefixValues)
map - the map to resolve properties in.prefix - the prefix the properties defined inside the map
 will finally receive - may be null.prefixValues - - whether the prefix will be applied
 to properties on the value side of the map as well.| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||