public class ResourceBundleWrapper
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
bundleName |
protected java.util.Locale |
locale |
protected java.util.ResourceBundle |
resourceBundle |
Constructor and Description |
---|
ResourceBundleWrapper(java.util.ResourceBundle resourceBundle,
java.lang.String bundleName,
java.util.Locale locale)
Constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getString(java.lang.String messageKey)
Get a string with appropruate handling of exceptions
|
java.lang.String |
getString(java.lang.String messageKey,
java.lang.Object[] args)
Same thing with arguments
|
protected java.util.ResourceBundle resourceBundle
protected java.lang.String bundleName
protected java.util.Locale locale