|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ondelette.servlet.webforum.MessageReference
An index referring to a message
Field Summary |
Fields inherited from interface com.ondelette.servlet.webforum.FixedNumericalConstants |
DEFAULT_NUMBER_OF_RECENT_MESSAGES, MAX_MESSAGE_SIZE_IN_BYTES, MAX_NUMBER_OF_MESSAGES_PER_FORUM, MAX_TEXTFIELD_SIZE, NUMBER_OF_CHARS_TO_COMPARE |
Constructor Summary | |
MessageReference(int id)
Constructor for the MessageReference object |
|
MessageReference(java.lang.String s)
Constructor for the MessageReference object |
|
MessageReference(java.lang.StringBuffer s)
Constructor for the MessageReference object |
Method Summary | |
boolean |
equals(java.lang.Object o)
|
int |
getID()
Gets the iD attribute of the MessageReference object |
Message |
getMessage(MessageFolder mf)
Gets the message attribute of the MessageReference object |
int |
hashCode()
|
java.lang.String |
toString()
|
void |
write(java.io.OutputStreamWriter out)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public MessageReference(int id)
id
- public MessageReference(java.lang.String s)
s
- public MessageReference(java.lang.StringBuffer s)
s
- Method Detail |
public int getID()
public Message getMessage(MessageFolder mf) throws java.io.IOException
mf
-
java.io.IOException
public java.lang.String toString()
toString
in class java.lang.Object
public void write(java.io.OutputStreamWriter out)
out
- public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
-
public int hashCode()
hashCode
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |