public class ResourceBundlePropertySource extends java.lang.Object implements IPropertySource
ResourceBundle.| Constructor and Description |
|---|
ResourceBundlePropertySource(java.util.ResourceBundle bundle) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getPropertyValue(java.lang.String propertyName)
Gets the value from the bundle by invoking
ResourceBundle.getString(java.lang.String). |
public ResourceBundlePropertySource(java.util.ResourceBundle bundle)
public java.lang.String getPropertyValue(java.lang.String propertyName)
ResourceBundle.getString(java.lang.String). If
the bundle does not contain the key (that is, it it
throws MissingResourceException), then
null is returned.getPropertyValue in interface IPropertySource