org.codehaus.plexus.util.interpolation
Class EnvarBasedValueSource

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

public class EnvarBasedValueSource
extends java.lang.Object
implements ValueSource


Field Summary
private  java.util.Properties envars
           
 
Constructor Summary
EnvarBasedValueSource()
           
 
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

envars

private java.util.Properties envars
Constructor Detail

EnvarBasedValueSource

public EnvarBasedValueSource()
                      throws java.io.IOException
Throws:
java.io.IOException
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.