Smack

org.jivesoftware.smack.packet
Class Message.Body

java.lang.Object
  extended by org.jivesoftware.smack.packet.Message.Body
Enclosing class:
Message

public static class Message.Body
extends java.lang.Object

Represents a message body, its language and the content of the message.


Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getLanguage()
          Returns the language of this message body.
 java.lang.String getMessage()
          Returns the message content.
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getLanguage

public java.lang.String getLanguage()
Returns the language of this message body.

Returns:
the language of this message body.

getMessage

public java.lang.String getMessage()
Returns the message content.

Returns:
the content of the message.

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

Smack

Copyright © 2003-2007 Jive Software.