|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Messages
Provides access to a messages catalog, a set of properties files that provide localized messages for a particular
locale. The message catalog consists of keys and values and follows the semantics of a Java ResourceBundle with some changes.
| Method Summary | |
|---|---|
boolean |
contains(java.lang.String key)
Returns true if the bundle contains the named key. |
java.lang.String |
format(java.lang.String key,
java.lang.Object... args)
Convienience for accessing a formatter and formatting a localized message with arguments. |
java.lang.String |
get(java.lang.String key)
Returns the localized message for the given key. |
MessageFormatter |
getFormatter(java.lang.String key)
Returns a formatter for the message, which can be used to substitute arguments (as per Formatter). |
| Method Detail |
|---|
boolean contains(java.lang.String key)
java.lang.String get(java.lang.String key)
key -
MessageFormatter getFormatter(java.lang.String key)
Formatter).
key -
java.lang.String format(java.lang.String key,
java.lang.Object... args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||