Package | Description |
---|---|
org.jxmpp.jid |
Interfaces and classes for XMPP Addresses (JIDs).
|
org.jxmpp.jid.impl |
JXMPP's implementation of
Jid and it's subtypes. |
org.jxmpp.jid.parts |
Classes representing JID parts (Local-, Resource- and Domainpart).
|
Modifier and Type | Method and Description |
---|---|
Resourcepart |
Jid.getResourceOrEmpty()
Get the resourcepart of this JID or return the empty resourcepart.
|
Resourcepart |
Jid.getResourceOrNull()
Get the resourcepart of this JID or null.
|
Resourcepart |
Jid.getResourceOrThrow()
Get the resourcepart of this JID or throw an
IllegalStateException . |
Resourcepart |
FullJid.getResourcepart()
Return the
Resourcepart of this JID. |
Modifier and Type | Method and Description |
---|---|
Resourcepart |
AbstractJid.getResourceOrEmpty() |
Resourcepart |
LocalDomainAndResourcepartJid.getResourceOrNull() |
abstract Resourcepart |
AbstractJid.getResourceOrNull() |
Resourcepart |
DomainAndResourcepartJid.getResourceOrNull() |
Resourcepart |
DomainpartJid.getResourceOrNull() |
Resourcepart |
LocalAndDomainpartJid.getResourceOrNull() |
Resourcepart |
AbstractJid.getResourceOrThrow() |
Resourcepart |
LocalDomainAndResourcepartJid.getResourcepart() |
Resourcepart |
DomainAndResourcepartJid.getResourcepart() |
Modifier and Type | Method and Description |
---|---|
static DomainFullJid |
JidCreate.domainFullFrom(DomainBareJid domainBareJid,
Resourcepart resource)
Get a domain full JID.
|
static DomainFullJid |
JidCreate.domainFullFrom(Domainpart domainpart,
Resourcepart resource)
Get a domain full JID.
|
static EntityFullJid |
JidCreate.entityFullFrom(EntityBareJid bareJid,
Resourcepart resource)
|
static EntityFullJid |
JidCreate.entityFullFrom(Localpart localpart,
DomainBareJid domainBareJid,
Resourcepart resource)
Get a
EntityFullJid constructed from the given parts. |
static EntityFullJid |
JidCreate.entityFullFrom(Localpart localpart,
Domainpart domainpart,
Resourcepart resource)
Get a
EntityFullJid constructed from the given parts. |
static EntityFullJid |
JidCreate.fullFrom(EntityBareJid bareJid,
Resourcepart resource)
|
static FullJid |
JidCreate.fullFrom(Localpart localpart,
DomainBareJid domainBareJid,
Resourcepart resource)
Get a
FullJid constructed from the given parts. |
static FullJid |
JidCreate.fullFrom(Localpart localpart,
Domainpart domainpart,
Resourcepart resource)
Get a
FullJid constructed from the given parts. |
Modifier and Type | Field and Description |
---|---|
static Resourcepart |
Resourcepart.EMPTY
The empty resource part.
|
Modifier and Type | Method and Description |
---|---|
static Resourcepart |
Resourcepart.from(String resource)
Get the
Resourcepart representing the input String. |
static Resourcepart |
Resourcepart.fromOrNull(CharSequence cs)
|
static Resourcepart |
Resourcepart.fromOrThrowUnchecked(CharSequence cs)
Like
from(String) but does throw an unchecked IllegalArgumentException instead of a
XmppStringprepException . |