Package | Description |
---|---|
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).
|
org.jxmpp.jid.util |
Utility classes for JIDs.
|
org.jxmpp.stringprep |
API to transform (prepare) Strings and CharSequences for use in XMPP.
|
org.jxmpp.stringprep.icu4j |
XMPP Stringprep done by ICU4J.
|
org.jxmpp.stringprep.libidn |
XMPP Stringprep done by libidn.
|
org.jxmpp.stringprep.simple |
A simple, but not complete, implementation of XMPP Stringprep.
|
Modifier and Type | Method and Description |
---|---|
static BareJid |
JidCreate.bareFrom(CharSequence jid)
Get a
BareJid representing the given CharSequence. |
static BareJid |
JidCreate.bareFrom(String jid)
Get a
BareJid representing the given String. |
static DomainBareJid |
JidCreate.domainBareFrom(CharSequence jid)
Get a domain bare JID.
|
static DomainBareJid |
JidCreate.domainBareFrom(String jid)
Get a domain bare JID.
|
static DomainFullJid |
JidCreate.domainFullFrom(CharSequence jid)
Get a domain full JID from the given CharSequence.
|
static DomainFullJid |
JidCreate.domainFullFrom(String jid)
Get a domain full JID from the given String.
|
static DomainFullJid |
JidCreate.donmainFullFrom(String jid)
Deprecated.
use
JidCreate.domainFullFrom(String) instead. |
static EntityBareJid |
JidCreate.entityBareFrom(CharSequence jid)
Get a
EntityBareJid representing the given CharSequence. |
static EntityBareJid |
JidCreate.entityBareFrom(String jid)
Get a
EntityBareJid representing the given String. |
static EntityBareJid |
JidCreate.entityBareFromUnescaped(CharSequence unescapedJid)
Get a
EntityBareJid representing the given unescaped CharSequence. |
static EntityBareJid |
JidCreate.entityBareFromUnescaped(String unescapedJidString)
Get a
EntityBareJid representing the given unescaped String. |
static EntityJid |
JidCreate.entityFrom(CharSequence jid)
Get a
EntityJid representing the given String. |
static EntityJid |
JidCreate.entityFrom(String jidString)
Get a
EntityJid representing the given String. |
static EntityJid |
JidCreate.entityFromUnescaped(CharSequence jid)
Get a
EntityJid representing the given String. |
static EntityJid |
JidCreate.entityFromUnescaped(String jidString)
Get a
EntityJid representing the given String. |
static EntityFullJid |
JidCreate.entityFullFrom(CharSequence jid)
Get a
EntityFullJid representing the given CharSequence. |
static EntityFullJid |
JidCreate.entityFullFrom(String jid)
Get a
EntityFullJid representing the given String. |
static EntityFullJid |
JidCreate.entityFullFrom(String localpart,
String domainpart,
String resource)
Get a
EntityFullJid constructed from the given parts. |
static EntityFullJid |
JidCreate.entityFullFromUnescaped(CharSequence unescapedJid)
Get a
EntityFullJid representing the given unescaped CharSequence. |
static EntityFullJid |
JidCreate.entityFullFromUnescaped(String unescapedJidString)
Get a
EntityFullJid representing the given unescaped String. |
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.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 FullJid |
JidCreate.fullFrom(CharSequence jid)
Get a
FullJid representing the given CharSequence. |
static FullJid |
JidCreate.fullFrom(String jid)
Get a
FullJid representing the given String. |
static FullJid |
JidCreate.fullFrom(String localpart,
String domainpart,
String resource)
Get a
FullJid constructed from the given parts. |
static DomainBareJid |
JidCreate.serverBareFrom(String jid)
Deprecated.
use
JidCreate.domainBareFrom(String) instead |
static DomainFullJid |
JidCreate.serverFullFrom(String jid)
Deprecated.
use
JidCreate.domainFullFrom(String) instead |
Modifier and Type | Method and Description |
---|---|
protected static void |
Part.assertNotLongerThan1023BytesOrEmpty(String string) |
static Domainpart |
Domainpart.from(String domain)
Get the
Domainpart representing the input String. |
static Resourcepart |
Resourcepart.from(String resource)
Get the
Resourcepart representing the input String. |
static Localpart |
Localpart.from(String localpart)
Get the
Localpart representing the input String. |
static Localpart |
Localpart.fromUnescaped(CharSequence unescapedLocalpart)
Get a
Localpart from an unescaped CharSequence. |
static Localpart |
Localpart.fromUnescaped(String unescapedLocalpart)
Get a
Localpart from an unescaped String. |
Modifier and Type | Method and Description |
---|---|
static void |
JidUtil.entityBareJidsFrom(Collection<? extends CharSequence> jidStrings,
Collection<? super EntityBareJid> output,
List<XmppStringprepException> exceptions)
Convert a collection of Strings to a Set of
EntityBareJid 's. |
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. |
Modifier and Type | Method and Description |
---|---|
static EntityBareJid |
JidUtil.validateEntityBareJid(CharSequence jidcs)
Check if the given CharSequence is a valid entity bare JID.
|
static EntityBareJid |
JidUtil.validateTypicalEntityBareJid(CharSequence jidcs)
Check if the given CharSequence is a typical and valid entity bare JID.
|
Modifier and Type | Method and Description |
---|---|
String |
XmppStringprep.domainprep(String string)
Performs String preparation on the domainpart String of a JID.
|
static String |
XmppStringPrepUtil.domainprep(String string)
Perform domainprep on the input String.
|
String |
XmppStringprep.localprep(String string)
Performs String preparation on the localpart String of a JID.
|
static String |
XmppStringPrepUtil.localprep(String string)
Perform localprep on the input String.
|
String |
XmppStringprep.resourceprep(String string)
Performs String preparation on the resourcepart String of a JID.
|
static String |
XmppStringPrepUtil.resourceprep(String string)
Perform resourceprep on the input String.
|
Modifier and Type | Method and Description |
---|---|
String |
Icu4jXmppStringprep.domainprep(String string) |
String |
Icu4jXmppStringprep.localprep(String string) |
String |
Icu4jXmppStringprep.resourceprep(String string) |
Modifier and Type | Method and Description |
---|---|
String |
LibIdnXmppStringprep.domainprep(String string) |
String |
LibIdnXmppStringprep.localprep(String string) |
String |
LibIdnXmppStringprep.resourceprep(String string) |
Modifier and Type | Method and Description |
---|---|
String |
SimpleXmppStringprep.domainprep(String string) |
String |
SimpleXmppStringprep.localprep(String string) |
String |
SimpleXmppStringprep.resourceprep(String string) |