|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tapestry.util.ResourceBundlePropertySource
public class ResourceBundlePropertySource
A property source that is based on a ResourceBundle.
| Constructor Summary | |
|---|---|
ResourceBundlePropertySource(java.util.ResourceBundle bundle)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getPropertyValue(java.lang.String propertyName)
Gets the value from the bundle by invoking ResourceBundle.getString(java.lang.String). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ResourceBundlePropertySource(java.util.ResourceBundle bundle)
| Method Detail |
|---|
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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||