open class MessageSourceResourceBundle : ResourceBundle
Helper class that allows for accessing a Spring org.springframework.context.MessageSource as a java.util.ResourceBundle. Used for example to expose a Spring MessageSource to JSTL web views.
Author
Juergen Hoeller
Since
27.02.2003
See Also
org.springframework.context.MessageSourcejava.util.ResourceBundleorg.springframework.web.servlet.support.JstlUtils#exposeLocalizationContext
MessageSourceResourceBundle(source: MessageSource, locale: Locale) MessageSourceResourceBundle(source: MessageSource, locale: Locale, parent: ResourceBundle)
Create a new MessageSourceResourceBundle for the given MessageSource and Locale. |
open fun containsKey(key: String): Boolean
This implementation checks whether the target MessageSource can resolve a message for the given key, translating |
|
open fun getKeys(): Enumeration<String>
This implementation throws |
|
open fun getLocale(): Locale
This implementation exposes the specified Locale for introspection through the standard |