public static interface AbstractEntityPropertiesService.MessageBundle
| 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.
|
String getPropertyMessage(String key, Object[] args, Locale locale)
key - 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 lookupIllegalArgumentException - is the arguments are invalidMissingResourceException - if the message wasn't foundCopyright © 2007–2019 CARET, University of Cambridge. All rights reserved.