org.apache.avalon.excalibur.property
クラス PropertyUtil

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

public final class PropertyUtil
extends java.lang.Object

This provides utility methods for properties.

導入されたバージョン:
4.0
バージョン:
CVS $Revision: 1.5 $ $Date: 2001/12/11 09:53:32 $
作成者:
Peter Donald

メソッドの概要
static java.lang.Object recursiveResolveProperty(java.lang.String property, org.apache.avalon.framework.context.Context context, boolean ignoreUndefined)
          Resolve a string property.
static java.lang.Object resolveProperty(java.lang.String property, org.apache.avalon.framework.context.Context context, boolean ignoreUndefined)
          Resolve a string property.
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

メソッドの詳細

resolveProperty

public static java.lang.Object resolveProperty(java.lang.String property,
                                               org.apache.avalon.framework.context.Context context,
                                               boolean ignoreUndefined)
                                        throws PropertyException
Resolve a string property. This evaluates all property substitutions based on specified context.
パラメータ:
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
戻り値:
the reolved property
例外:
PropertyException - if an error occurs

recursiveResolveProperty

public static java.lang.Object recursiveResolveProperty(java.lang.String property,
                                                        org.apache.avalon.framework.context.Context context,
                                                        boolean ignoreUndefined)
                                                 throws PropertyException
Resolve a string property. This recursively evaluates all property substitutions based on specified context.
パラメータ:
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
戻り値:
the reolved property
例外:
PropertyException - if an error occurs


"Copyright ? 2001 Apache Jakarta Project. All Rights Reserved."