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 java.lang.Object

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


Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getLanguage()
          Returns the language of this message subject.
 java.lang.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 java.lang.String getLanguage()
Returns the language of this message subject.

Returns:
the language of this message subject.

getSubject

public java.lang.String getSubject()
Returns the subject content.

Returns:
the content of the subject.

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.