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.util |
Utility classes for JIDs.
|
Modifier and Type | Interface and Description |
---|---|
interface |
BareJid
An XMPP address (JID) which has no
Resourcepart . |
interface |
DomainBareJid
An XMPP address (JID) consisting of the domainpart.
|
interface |
DomainFullJid
An XMPP address (JID) consisting of a domainpart and a resourcepart.
|
interface |
DomainJid
An XMPP address (JID) which has no
Localpart . |
interface |
EntityBareJid
An XMPP address (JID) consisting of a localpart and a domainpart.
|
interface |
EntityFullJid
An XMPP address (JID) consisting of a localpart, domainpart and resourcepart.
|
interface |
EntityJid
An XMPP address (JID) which has a
Localpart . |
interface |
FullJid
An XMPP address (JID) which has a
Resourcepart . |
Modifier and Type | Method and Description |
---|---|
<T extends Jid> |
Jid.downcast(Class<T> jidClass)
Return the downcasted instance of this Jid.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Jid.isParentOf(Jid jid)
Check if this JID is the parent of another JID.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractJid |
class |
DomainAndResourcepartJid
RFC6122 2.4 allows JIDs with only a domain and resource part.
|
class |
DomainpartJid |
class |
LocalAndDomainpartJid |
class |
LocalDomainAndResourcepartJid |
Modifier and Type | Method and Description |
---|---|
<T extends Jid> |
AbstractJid.downcast(Class<T> jidClass) |
Modifier and Type | Method and Description |
---|---|
static Jid |
JidCreate.from(CharSequence jid)
Get a
Jid from a CharSequence. |
static Jid |
JidCreate.from(CharSequence localpart,
CharSequence domainpart,
CharSequence resource)
Get a
Jid from the given parts. |
static Jid |
JidCreate.from(String jidString)
Get a
Jid from the given String. |
static Jid |
JidCreate.from(String localpart,
String domainpart,
String resource)
Get a
Jid from the given parts. |
static Jid |
JidCreate.fromOrNull(CharSequence cs)
|
static Jid |
JidCreate.fromOrThrowUnchecked(CharSequence cs)
Like
JidCreate.from(CharSequence) but does throw an unchecked IllegalArgumentException instead of a
XmppStringprepException . |
static Jid |
JidCreate.fromUnescaped(CharSequence unescapedJid)
Get a
Jid from the given unescaped CharSequence. |
static Jid |
JidCreate.fromUnescaped(String unescapedJidString)
Get a
Jid from the given unescaped String. |
static Jid |
JidCreate.fromUnescapedOrNull(CharSequence cs)
|
static Jid |
JidCreate.fromUnescapedOrThrowUnchecked(CharSequence cs)
Like
JidCreate.fromUnescaped(CharSequence) but does throw an unchecked IllegalArgumentException instead of a
XmppStringprepException . |
Modifier and Type | Method and Description |
---|---|
int |
AbstractJid.compareTo(Jid other) |
boolean |
AbstractJid.isParentOf(Jid jid) |
Modifier and Type | Method and Description |
---|---|
static Set<Jid> |
JidUtil.jidSetFrom(Collection<? extends CharSequence> jidStrings)
Convert the given collection of CharSequences to JIDs.
|
static Set<Jid> |
JidUtil.jidSetFrom(String[] jids)
Convert the given array of Strings to JIDs.
|
Modifier and Type | Method and Description |
---|---|
static void |
JidUtil.filterDomainFullJid(Collection<? extends Jid> in,
Collection<? super DomainFullJid> out)
Filter all domain full JIDs.
|
static List<DomainFullJid> |
JidUtil.filterDomainFullJidList(Collection<? extends Jid> input)
Filter all domain full JIDs.
|
static Set<DomainFullJid> |
JidUtil.filterDomainFullJidSet(Collection<? extends Jid> input)
Filter all domain full JIDs.
|
static void |
JidUtil.filterEntityBareJid(Collection<? extends Jid> in,
Collection<? super EntityBareJid> out)
Filter all entity bare JIDs.
|
static List<EntityBareJid> |
JidUtil.filterEntityBareJidList(Collection<? extends Jid> input)
Filter all entity bare JIDs.
|
static Set<EntityBareJid> |
JidUtil.filterEntityBareJidSet(Collection<? extends Jid> input)
Filter all entity bare JIDs.
|
static void |
JidUtil.filterEntityFullJid(Collection<? extends Jid> in,
Collection<? super EntityFullJid> out)
Filter all entity full JIDs.
|
static List<EntityFullJid> |
JidUtil.filterEntityFullJidList(Collection<? extends Jid> input)
Filter all full JIDs.
|
static Set<EntityFullJid> |
JidUtil.filterEntityFullJidSet(Collection<? extends Jid> input)
Filter all full JIDs.
|
static void |
JidUtil.jidsFrom(Collection<? extends CharSequence> jidStrings,
Collection<? super Jid> output,
List<XmppStringprepException> exceptions)
Convert a collection of Strings to a Set of
Jid 's. |
static List<String> |
JidUtil.toStringList(Collection<? extends Jid> jids)
Convert a collection of JIDs to a list of Strings representing those JIDs.
|
static void |
JidUtil.toStrings(Collection<? extends Jid> jids,
Collection<? super String> jidStrings)
Convert a collection of JIDs to a Collection of Strings.
|
static Set<String> |
JidUtil.toStringSet(Collection<? extends Jid> jids)
convert a collection of JIDs to a set of Strings representing those JIDs.
|