| org.sakaiproject.i18n.InternationalizedMessages
All known Subclasses: org.sakaiproject.util.ResourceLoader,
InternationalizedMessages | public interface InternationalizedMessages extends Map(Code) | | InternationalizedMessages is a bundle of message implementations for many locales.
|
Field Summary | |
String | APPLICATION_ID The type string for this "application": should not change over time as it may be stored in various parts of persistent entities. | String | LOCALE_KEY |
APPLICATION_ID | String APPLICATION_ID(Code) | | The type string for this "application": should not change over time as it may be stored in various parts of persistent entities.
|
LOCALE_KEY | String LOCALE_KEY(Code) | | Preferences key for user's regional language locale
|
getFormattedMessage | String getFormattedMessage(String key, Object[] args)(Code) | | Return formatted message based on locale-specific pattern
Parameters: key - maps to locale-specific pattern in properties file Parameters: args - parameters to format and insert according to above pattern formatted message |
getLocale | Locale getLocale()(Code) | | Return user's prefered locale
user's Locale object |
getString | String getString(String key)(Code) | | Return string value for specified property in current locale specific ResourceBundle
Parameters: key - property key to look up in current ResourceBundle * * String value for specified property key |
getString | String getString(String key, String dflt)(Code) | | Return string value for specified property in current locale specific ResourceBundle
Parameters: key - property key to look up in current ResourceBundle Parameters: dflt - the default value to be returned in case the property is missing String value for specified property key |
|
|