com.multisoftgroup.jerry.webchat.client
Class JID

java.lang.Object
  extended by com.multisoftgroup.jerry.webchat.client.JID

public class JID
extends Object

The JID class represents a Jabber Identifier as described by RFC3920

Author:
Pavel Savin

Constructor Summary
JID(String fullJID)
           
JID(String name, String host, String resource)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getHost()
           
 String getName()
           
 String getResource()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JID

public JID(String fullJID)
    throws com.multisoftgroup.common.ApplicationException
Throws:
com.multisoftgroup.common.ApplicationException

JID

public JID(String name,
           String host,
           String resource)
Method Detail

getHost

public String getHost()

getName

public String getName()

getResource

public String getResource()

toString

public String toString()
Overrides:
toString in class Object

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object