public class PropertyHolderPropertySource extends java.lang.Object implements IPropertySource
IPropertySource interface
for instances that implement IPropertyHolder.| Constructor and Description |
|---|
PropertyHolderPropertySource(IPropertyHolder holder) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getPropertyValue(java.lang.String propertyName)
Returns the value for a given property, or null if the
source does not provide a value for the named property.
|
public PropertyHolderPropertySource(IPropertyHolder holder)
public java.lang.String getPropertyValue(java.lang.String propertyName)
IPropertySourcegetPropertyValue in interface IPropertySource