Smack

org.jivesoftware.smack.packet
Class Message.Subject

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

public static class Message.Subject
extends Object

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


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

Method Detail

getLanguage

public String getLanguage()
Returns the language of this message subject.

Returns:
the language of this message subject.

getSubject

public String getSubject()
Returns the subject content.

Returns:
the content of the subject.

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

Smack

Copyright © 2003-2007 Jive Software.