org.oddjob.arooa.standard
Class StandardPropertyLookup
java.lang.Object
org.oddjob.arooa.standard.StandardPropertyLookup
- All Implemented Interfaces:
- PropertyLookup
public class StandardPropertyLookup
- extends Object
- implements PropertyLookup
A simple implementation of a PropertyLookup.
- See Also:
PropertyManager- Author:
- rob
|
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 |
StandardPropertyLookup
public StandardPropertyLookup(Properties properties)
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.