protected class EntityPropertiesServiceSpringImpl.SpringMessageBundle extends org.springframework.context.support.ReloadableResourceBundleMessageSource implements AbstractEntityPropertiesService.MessageBundle
| Modifier | Constructor and Description |
|---|---|
protected |
SpringMessageBundle() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getPropertyKeys(Locale locale)
Get all the keys for a specific Locale
|
String |
getPropertyMessage(String key,
Object[] args,
Locale locale)
Try to resolve the message.
|
calculateAllFilenames, calculateFilenamesForLocale, clearCache, clearCacheIncludingAncestors, getMergedProperties, getProperties, loadProperties, newProperties, refreshProperties, resolveCode, resolveCodeWithoutArguments, setConcurrentRefresh, setFileEncodings, setPropertiesPersister, setResourceLoader, toStringaddBasenames, getBasenameSet, getCacheMillis, getDefaultEncoding, isFallbackToSystemLocale, setBasename, setBasenames, setCacheMillis, setCacheSeconds, setDefaultEncoding, setFallbackToSystemLocalegetCommonMessages, getDefaultMessage, getDefaultMessage, getMessage, getMessage, getMessage, getMessageFromParent, getMessageInternal, getParentMessageSource, isUseCodeAsDefaultMessage, resolveArguments, setCommonMessages, setParentMessageSource, setUseCodeAsDefaultMessagepublic String getPropertyMessage(String key, Object[] args, Locale locale)
AbstractEntityPropertiesService.MessageBundlegetPropertyMessage in interface AbstractEntityPropertiesService.MessageBundlekey - the code to lookup up, such as 'calculator.noRateSet'args - Array of arguments that will be filled in for params within
the message (params look like "{0}", "{1,date}", "{2,time}" within a message),
or null if none.locale - the Locale in which to do the lookuppublic List<String> getPropertyKeys(Locale locale)
AbstractEntityPropertiesService.MessageBundlegetPropertyKeys in interface AbstractEntityPropertiesService.MessageBundlelocale - the Locale in which to do the lookupCopyright © 2003–2020 Sakai Project. All rights reserved.