org.oddjob.values.properties
Class EnvVarPropertyLookup
java.lang.Object
org.oddjob.values.properties.EnvVarPropertyLookup
- All Implemented Interfaces:
- PropertyLookup
public class EnvVarPropertyLookup
- extends Object
- implements PropertyLookup
|
Method Summary |
String |
lookup(String propertyName)
Return the value of a property, or null if it doesn't exist. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EnvVarPropertyLookup
public EnvVarPropertyLookup(String prefix)
lookup
public String lookup(String propertyName)
- Description copied from interface:
PropertyLookup
- Return the value of a property, or null if it doesn't exist.
- Specified by:
lookup in interface PropertyLookup
- Parameters:
propertyName - The name of the property.
- Returns:
- The value or null.