|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IMessagesSource
A source for localized messages.
| Method Summary | |
|---|---|
boolean |
exists(java.lang.String bundle,
java.lang.String key,
java.util.Locale locale,
StandaloneComponent caller)
Returns true if a message with the given key exists in the given bundle with the given locale. |
java.lang.String |
getMessage(java.lang.String bundle,
java.lang.String key,
java.util.Locale locale,
StandaloneComponent caller)
Tries to read a localized message from the given bundle with the given key and locale. |
| Method Detail |
|---|
java.lang.String getMessage(java.lang.String bundle,
java.lang.String key,
java.util.Locale locale,
StandaloneComponent caller)
bundle - Name of the bundle (in the long class name format)key - Name of the message inside the bundlelocale - caller - The complex component that is asking for this message.
boolean exists(java.lang.String bundle,
java.lang.String key,
java.util.Locale locale,
StandaloneComponent caller)
bundle - key - locale - caller - The complex component that is asking for this message.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||