public class EnvVarPropertyLookup extends java.lang.Object implements PropertyLookup
PropertyLookup for environment variables.SYSTEM_PROPERTY_SOURCE| Constructor and Description |
|---|
EnvVarPropertyLookup(java.lang.String prefix) |
| 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 java.lang.String lookup(java.lang.String propertyName)
PropertyLookuplookup in interface PropertyLookuppropertyName - The name of the property.public java.util.Set<java.lang.String> propertyNames()
PropertyLookuppropertyNames in interface PropertyLookuppublic PropertySource sourceFor(java.lang.String propertyName)
PropertyLookupsourceFor in interface PropertyLookuppropertyName - The property name.