org.apache.avalon.excalibur.property
Class PropertyUtil

java.lang.Object
  |
  +--org.apache.avalon.excalibur.property.PropertyUtil

public final class PropertyUtil
extends java.lang.Object

This provides utility methods for properties.

Author:
Peter Donald

Method Summary
static java.lang.Object resolveProperty(java.lang.String property, Context context, boolean ignoreUndefined)
          Resolve property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

resolveProperty

public static java.lang.Object resolveProperty(java.lang.String property,
                                               Context context,
                                               boolean ignoreUndefined)
                                        throws PropertyException
Resolve property. This evaluates all property substitutions based on current context.
Parameters:
property - the property to resolve
context - the context in which to resolve property
ignoreUndefined - if false will throw an PropertyException if property is not found
Returns:
the reolved property
Throws:
PropertyException - if an error occurs


Copyright © 2001 Apache Jakarta Project. All Rights Reserved.