public interface IBundle extends NlsMessageProvider
| Modifier and Type | Method and Description |
|---|---|
String |
formatMessage(String key,
Object... param)
Gets the string, and applies default message formatting using the parameters
passed in the current locale.
|
String |
getString(Locale loc,
String key)
Returns a translation of key in the specified locale (or the one
closest to it).
|
String |
getString(String key)
Returns the translation of the key passed in the current client
locale.
|
findMessage@Nonnull String getString(@Nonnull Locale loc, @Nonnull String key)
loc - key - ResourceNotFoundException - the bundle cannot be located.@Nonnull String getString(@Nonnull String key)
key - Copyright © 2017 etc.to. All rights reserved.