public class StandardPropertyLookup extends java.lang.Object implements PropertyLookup
PropertyLookup
.PropertyManager
SYSTEM_PROPERTY_SOURCE
Constructor and Description |
---|
StandardPropertyLookup(java.util.Properties properties,
java.lang.String source) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
lookup(java.lang.String propertyName)
Return the value of a property, or null if it doesn't exist.
|
java.util.Set<java.lang.String> |
propertyNames()
Return all property names in this property lookup.
|
PropertySource |
sourceFor(java.lang.String propertyName)
Return a source for the property.
|
public StandardPropertyLookup(java.util.Properties properties, java.lang.String source)
public java.lang.String lookup(java.lang.String propertyName)
PropertyLookup
lookup
in interface PropertyLookup
propertyName
- The name of the property.public PropertySource sourceFor(java.lang.String propertyName)
PropertyLookup
sourceFor
in interface PropertyLookup
propertyName
- The property name.public java.util.Set<java.lang.String> propertyNames()
PropertyLookup
propertyNames
in interface PropertyLookup