|
||||||||||
| 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 loc)
Constructor for the Messages object. |
|
| Method Summary | |
|---|---|
java.lang.String |
getLanguage()
Gets the language of the message object. |
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)
throws StandardException
base - Base name of the properties files
StandardException - exception
public Messages(java.lang.String base,
java.util.Locale loc)
throws StandardException
base - Base name of the properties filesloc - Language to use
StandardException - exception| Method Detail |
|---|
public final java.lang.String getLanguage()
public final java.lang.String getMessage(java.lang.String idMess)
idMess - message ID
public final java.lang.String getMessage(java.lang.String idMess,
java.lang.Object[] messageArguments)
idMess - message IDmessageArguments - arguments as array of objects
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||