public class SimpleBundleProvider extends Object implements ResourceBundleProvider
ResourceBundleProvider based on
ResourceBundle.getBundle(String).
Always resolve to the same family of resource bundles, based on the
specified basename.
| Constructor and Description |
|---|
SimpleBundleProvider(String baseName) |
| Modifier and Type | Method and Description |
|---|---|
ResourceBundle |
getResourceBundle(String msgId,
Locale locale)
Returns a
ResourceBundle for the specified message ID
and locale. |
public SimpleBundleProvider(String baseName)
public ResourceBundle getResourceBundle(String msgId, Locale locale)
ResourceBundleProviderResourceBundle for the specified message ID
and locale.getResourceBundle in interface ResourceBundleProvidermsgId - identifier of the message to be resolvedlocale - target localeResourceBundle which contains data for the messageCopyright © 2016. All Rights Reserved.