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


Field Summary
private  java.util.Properties properties
           
 
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
 

Field Detail

properties

private final java.util.Properties properties
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.