| Modifier and Type | Method and Description |
|---|---|
Jid |
Jid.asBareJid()
Converts this JID into a bare JID, i.e. removes the resource.
|
Jid |
Jid.atSubdomain(String subdomain)
Returns a new JID at a subdomain and at the same domain as this JID.
|
static Jid |
Jid.of(CharSequence jid)
Returns a JID from a string.
|
static Jid |
Jid.of(CharSequence local,
CharSequence domain,
CharSequence resource)
Returns a full JID with a domain and resource part, e.g.
|
static Jid |
Jid.ofDomain(CharSequence domain)
Returns a bare JID with only the domain part, e.g.
|
static Jid |
Jid.ofDomainAndResource(CharSequence domain,
CharSequence resource)
Returns a full JID with a domain and resource part, e.g.
|
static Jid |
Jid.ofEscaped(CharSequence jid)
Creates a JID from a escaped JID string.
|
static Jid |
Jid.ofLocalAndDomain(CharSequence local,
CharSequence domain)
Returns a bare JID with a local and domain part, e.g.
|
static Jid |
Jid.valueOf(String jid)
Deprecated.
Use
of(CharSequence) |
static Jid |
Jid.valueOf(String jid,
boolean doUnescape)
Deprecated.
|
Jid |
Jid.withLocal(String local)
Returns a new JID with a new local part and the same domain and resource part of the current JID.
|
Jid |
Jid.withResource(String resource)
Returns a new full JID with a resource and the same local and domain part of the current JID.
|
| Modifier and Type | Method and Description |
|---|---|
int |
Jid.compareTo(Jid o)
Compares this JID with another JID.
|
Copyright © 2014–2015 XMPP.rocks. All rights reserved.