public class StandardPropertyLookup extends Object implements PropertyLookup
PropertyLookup.PropertyManagerSYSTEM_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)
PropertyLookuplookup in interface PropertyLookuppropertyName - The name of the property.public PropertySource sourceFor(String propertyName)
PropertyLookupsourceFor in interface PropertyLookuppropertyName - The property name.public Set<String> propertyNames()
PropertyLookuppropertyNames in interface PropertyLookupCopyright © 2023. All rights reserved.