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