public interface IMessageInfo
Modifier and Type | Method and Description |
---|---|
String |
getDefaultMessage(boolean includeMessageKeyPrefix) |
Locale |
getLocale() |
String |
getLocalizedMessage(boolean includeMessageKeyPrefix) |
Object[] |
getMessageArgs() |
String |
getMessageKey() |
boolean |
getNotFoundPolicy()
This describes what behavior to do when the message key isn't found.
|
ResourceBundle |
getResourceBundle() |
Class<?> |
getResourceBundleClass() |
String |
getSystemMessage(boolean includeMessageKeyPrefix) |
ResourceBundle |
getSystemResourceBundle() |
void |
setNotFoundPolicy(boolean notFoundPolicy) |
boolean getNotFoundPolicy()
void setNotFoundPolicy(boolean notFoundPolicy)
getNotFoundPolicy()
Class<?> getResourceBundleClass()
String getMessageKey()
Object[] getMessageArgs()
ResourceBundle getResourceBundle()
ResourceBundle getSystemResourceBundle()
Locale getLocale()
String getLocalizedMessage(boolean includeMessageKeyPrefix)
includeMessageKeyPrefix
- whether or not to include the message key as a prefixString getSystemMessage(boolean includeMessageKeyPrefix)
includeMessageKeyPrefix
- whether or not to include the message key as a prefixIGlobalProvider.getPortalSystemLocale()
)String getDefaultMessage(boolean includeMessageKeyPrefix)
includeMessageKeyPrefix
- whether or not to include the message key as a prefixIGlobalProvider.getDefaultLocale()
)