|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.tireme.shared.Messages
public class Messages
Manage messages used by the Graphical User Interface.
| Constructor Summary | |
|---|---|
Messages(java.lang.String base)
Constructor for the Messages object using the default language |
|
Messages(java.lang.String base,
java.util.Locale locale)
Constructor for the Messages object |
|
| Method Summary | |
|---|---|
java.lang.String |
getLanguage()
Gets the language of the message objetc |
java.lang.String |
getMessage(java.lang.String idMess)
Get a message with no arguments |
java.lang.String |
getMessage(java.lang.String idMess,
java.lang.Object[] messageArguments)
Get a message with arguments |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Messages(java.lang.String base,
java.util.Locale locale)
throws StandardException
base - Base name of the properties fileslocale - Language to use
StandardException
public Messages(java.lang.String base)
throws StandardException
base - Base name of the properties files
StandardException| Method Detail |
|---|
public java.lang.String getMessage(java.lang.String idMess)
idMess - message ID
public java.lang.String getMessage(java.lang.String idMess,
java.lang.Object[] messageArguments)
idMess - message IDmessageArguments - arguments as array of objects
public java.lang.String getLanguage()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||