|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.cc.framework.message.MessageResources
This class defines a message (message resource) in different languages.
| Field Summary | |
private java.util.Hashtable |
map
The buffer to store the messages |
| Constructor Summary | |
MessageResources()
Constructor for MessageMap |
|
| Method Summary | |
int |
getCount()
Returns the number of Messages in list |
MessageResource |
getMessage(int code)
Returns a message for the specified code. |
void |
load(MessageResourceLoader loader)
Loads the messages into the internal list. |
java.util.Enumeration |
messages()
Returns an enumeration of all messages in this list. |
java.lang.String |
toString()
Returns a String representation for the size of the message dictionary |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
private java.util.Hashtable map
| Constructor Detail |
public MessageResources()
| Method Detail |
public int getCount()
public MessageResource getMessage(int code)
code - the message code
public void load(MessageResourceLoader loader)
loader - the message loaderpublic java.util.Enumeration messages()
Enumerationpublic java.lang.String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||