PropertyHelper.PropertyEvaluator (Apache Ant API)
Keywords: org.apache.tools.ant.PropertyHelper.PropertyEvaluator interface

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.tools.ant
Interface PropertyHelper.PropertyEvaluator

All Superinterfaces:
  PropertyHelper.Delegate

All Known Implementing Classes:
  LocalProperties

Enclosing class:
  PropertyHelper

    public static interface PropertyHelper.PropertyEvaluator

extends PropertyHelper.Delegate

Looks up a property's value based on its name.

Can be used to look up properties in a different storage than the project instance (like local properties for example) or to implement custom "protocols" like Ant's `${toString:refid}` syntax.

Since:
  Ant 1.8.0

Method Summary
`java.lang.Object` | `evaluate(java.lang.String property, PropertyHelper propertyHelper)` Evaluate a property.

Method Detail

### evaluate

    java.lang.Object evaluate(java.lang.String property,
                              PropertyHelper propertyHelper)

  Evaluate a property.

  Parameters:
    `property` - the property's String "identifier".
    `propertyHelper` - the invoking PropertyHelper.
  Returns:
    null if the property name could not be found, an instance of `NullReturn` to indicate a property with a name that can be matched but a value of `null` and the property's value otherwise.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD