Class Localpart

  • All Implemented Interfaces:
    Serializable, CharSequence

    public class Localpart
    extends Part
    A localpart of an XMPP address (JID). The localpart is the part before the first @ sign in an XMPP address and usually identifies the user (or the XMPP entity) within an XMPP service. It is also often referred to as "username", but note that the actual username used to login may be different from the resulting localpart of the user's JID.

    You can create instances of this class from Strings using from(String).

    See Also:
    RFC 6122 ยง 2.3. Localpart, Serialized Form