public interface Localizer
Modifier and Type | Method and Description |
---|---|
String |
getMessage(String key)
Gets the I18N text for a resouce bundle key.
|
String |
getMessage(String key,
String... messageArguments)
Gets the I18N text for a resouce bundle key, where parameters or substituted.
|
String getMessage(String key)
key
- the keyString getMessage(String key, String... messageArguments)
key
- the keymessageArguments
- a array of strign arguments for the I18N text.