| Package | Description |
|---|---|
| rocks.xmpp.addr |
Provides classes for the XMPP Address Format (JID).
|
| Modifier and Type | Class and Description |
|---|---|
class |
MalformedJid
Represents a malformed JID in order to handle the
jid-malformed error. |
| Modifier and Type | Method and Description |
|---|---|
Jid |
MalformedJid.asBareJid() |
Jid |
Jid.asBareJid()
Gets the bare JID representation of this JID, i.e. removes the resource part.
|
Jid |
MalformedJid.atSubdomain(java.lang.CharSequence subdomain) |
Jid |
Jid.atSubdomain(java.lang.CharSequence subdomain)
Creates a new JID at a subdomain and at the same domain as this JID.
|
static Jid |
Jid.of(java.lang.CharSequence jid)
Creates a JID from an unescaped string.
|
static Jid |
Jid.of(java.lang.CharSequence local,
java.lang.CharSequence domain,
java.lang.CharSequence resource)
Returns a full JID with a domain and resource part, e.g.
|
static Jid |
Jid.ofDomain(java.lang.CharSequence domain)
Creates a bare JID with only the domain part, e.g.
|
static Jid |
Jid.ofDomainAndResource(java.lang.CharSequence domain,
java.lang.CharSequence resource)
Creates a full JID with a domain and resource part, e.g.
|
static Jid |
Jid.ofEscaped(java.lang.CharSequence jid)
Creates a JID from a escaped JID string.
|
static Jid |
Jid.ofLocalAndDomain(java.lang.CharSequence local,
java.lang.CharSequence domain)
Creates a bare JID with a local and domain part, e.g.
|
Jid |
MalformedJid.withLocal(java.lang.CharSequence local) |
Jid |
Jid.withLocal(java.lang.CharSequence local)
Creates a new JID with a new local part and the same domain and resource part of the current JID.
|
Jid |
MalformedJid.withResource(java.lang.CharSequence resource) |
Jid |
Jid.withResource(java.lang.CharSequence resource)
Creates a new full JID with a resource and the same local and domain part of the current JID.
|
Copyright © 2014–2019 XMPP.rocks. All rights reserved.