Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

JID Class Reference

Class which encapsulate Jabber ID. More...

List of all members.

Public Member Functions

Public Attributes


Detailed Description

Class which encapsulate Jabber ID.


Constructor & Destructor Documentation

void JID String  node,
String  domain,
String  resource
 

Create new JID object.

This constructor needs a node, domain and optional resource argument. Alternatively you can pass just one argument with jid in standard string format ("node@domain/resource").

Parameters:
node Node part of jid, or string with whole jid.
domain Domain part of jid.
resource Resource part of jid. (optional)


Member Function Documentation

String toString String  type  ) 
 

Convert JID to string.

Parameters:
type If equals to "short" string format string is returned i.e without resource part.
Returns:
JID in string format. (optional)


The documentation for this class was generated from the following file:
Generated on Tue Jan 4 01:03:51 2005 for JabberZilla by  doxygen 1.4.0