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:
localpart@domain.partlocalpart@domain.part/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 theLocalpartof this JID.Methods inherited from interface java.lang.CharSequence
charAt, chars, codePoints, length, subSequenceMethods inherited from interface java.lang.Comparable
compareToMethods 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, isStrictParentOf, isStrictParentOf, isStrictParentOf, isStrictParentOf, isStrictParentOf, toString
-
Method Details
-
getLocalpart
Return theLocalpartof this JID.- Returns:
- the localpart.
-
asEntityBareJid
Return the bare JID of this entity JID.- Returns:
- the bare JID.
-
asEntityBareJidString
Return the bare JID string of this full JID.- Returns:
- the bare JID string.
-