|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--MtgServer.LanguageMsg
Base class for all languages classes
| Field Summary | |
protected MtgServer.languages |
language
the language of the current language object |
protected java.util.Hashtable |
messages
table of messages |
| Constructor Summary | |
LanguageMsg()
Creates a new instance of Language |
|
| Method Summary | |
java.lang.String |
get(java.lang.String id_message)
get the message fron its ID string first look in the table of messages in the current language and if not found try to get the message from the defaut message table (in english). this is to allow partial traduction of the server messages. |
MtgServer.languages |
getLanguage()
get the language of the current object |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected MtgServer.languages language
protected java.util.Hashtable messages
| Constructor Detail |
public LanguageMsg()
| Method Detail |
public MtgServer.languages getLanguage()
public java.lang.String get(java.lang.String id_message)
id_message - the ID string of the message to get
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||