|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.context.support.MessageSourceSupport
org.springframework.context.support.AbstractMessageSource
org.springframework.context.support.ReloadableResourceBundleMessageSource
org.sakaiproject.entitybroker.util.spring.EntityPropertiesServiceSpringImpl.SpringMessageBundle
protected class EntityPropertiesServiceSpringImpl.SpringMessageBundle
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.springframework.context.support.ReloadableResourceBundleMessageSource |
|---|
org.springframework.context.support.ReloadableResourceBundleMessageSource.PropertiesHolder |
| Field Summary |
|---|
| Fields inherited from class org.springframework.context.support.MessageSourceSupport |
|---|
logger |
| Constructor Summary | |
|---|---|
protected |
EntityPropertiesServiceSpringImpl.SpringMessageBundle()
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.springframework.context.support.ReloadableResourceBundleMessageSource |
|---|
calculateAllFilenames, calculateFilenamesForLocale, clearCache, clearCacheIncludingAncestors, getMergedProperties, getProperties, loadProperties, refreshProperties, resolveCode, resolveCodeWithoutArguments, setBasename, setBasenames, setCacheSeconds, setDefaultEncoding, setFallbackToSystemLocale, setFileEncodings, setPropertiesPersister, setResourceLoader, toString |
| Methods inherited from class org.springframework.context.support.AbstractMessageSource |
|---|
getDefaultMessage, getMessage, getMessage, getMessage, getMessageFromParent, getMessageInternal, getParentMessageSource, isUseCodeAsDefaultMessage, renderDefaultMessage, resolveArguments, setParentMessageSource, setUseCodeAsDefaultMessage |
| Methods inherited from class org.springframework.context.support.MessageSourceSupport |
|---|
createMessageFormat, formatMessage, isAlwaysUseMessageFormat, setAlwaysUseMessageFormat |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected EntityPropertiesServiceSpringImpl.SpringMessageBundle()
| Method Detail |
|---|
public String getPropertyMessage(String key,
Object[] args,
Locale locale)
AbstractEntityPropertiesService.MessageBundle
getPropertyMessage 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 lookup
public List<String> getPropertyKeys(Locale locale)
AbstractEntityPropertiesService.MessageBundle
getPropertyKeys in interface AbstractEntityPropertiesService.MessageBundlelocale - the Locale in which to do the lookup
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||