Package org.jxmpp.jid
Interface EntityJid
- All Superinterfaces:
CharSequence
,Comparable<Jid>
,Jid
,Serializable
- All Known Subinterfaces:
EntityBareJid
,EntityFullJid
- All Known Implementing Classes:
LocalAndDomainpartJid
,LocalDomainAndResourcepartJid
An XMPP address (JID) which has a
Localpart
. Either EntityBareJid
or EntityFullJid
.
Examples:
[email protected]
[email protected]/resourcepart
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturn the bare JID of this entity JID.Return the bare JID string of this full JID.Return theLocalpart
of this JID.Methods inherited from interface java.lang.CharSequence
charAt, chars, codePoints, length, subSequence
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface org.jxmpp.jid.Jid
asBareJid, asDomainBareJid, asDomainFullJidIfPossible, asDomainFullJidOrThrow, asEntityBareJidIfPossible, asEntityBareJidOrThrow, asEntityFullJidIfPossible, asEntityFullJidOrThrow, asEntityJidIfPossible, asEntityJidOrThrow, asFullJidIfPossible, asFullJidOrThrow, asUnescapedString, asUrlEncodedString, downcast, equals, equals, getDomain, getLocalpartOrNull, getLocalpartOrThrow, getResourceOrEmpty, getResourceOrNull, getResourceOrThrow, hasLocalpart, hasNoResource, hasResource, intern, isDomainBareJid, isDomainFullJid, isEntityBareJid, isEntityFullJid, isEntityJid, isParentOf, isParentOf, isParentOf, isParentOf, isParentOf, toString
-
Method Details
-
getLocalpart
Localpart getLocalpart()Return theLocalpart
of this JID.- Returns:
- the localpart.
-
asEntityBareJid
EntityBareJid asEntityBareJid()Return the bare JID of this entity JID.- Returns:
- the bare JID.
-
asEntityBareJidString
String asEntityBareJidString()Return the bare JID string of this full JID.- Returns:
- the bare JID string.
-