org.codehaus.plexus.util.interpolation
Class PropertiesBasedValueSource

java.lang.Object
  extended by org.codehaus.plexus.util.interpolation.PropertiesBasedValueSource
All Implemented Interfaces:
ValueSource

public class PropertiesBasedValueSource
extends java.lang.Object
implements ValueSource


Constructor Summary
PropertiesBasedValueSource(java.util.Properties properties)
           
 
Method Summary
 java.lang.Object getValue(java.lang.String expression)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertiesBasedValueSource

public PropertiesBasedValueSource(java.util.Properties properties)
Method Detail

getValue

public java.lang.Object getValue(java.lang.String expression)
Specified by:
getValue in interface ValueSource
Returns:
the value related to the expression, or null if not found.


Copyright © 2001-2007 Codehaus. All Rights Reserved.