Class Part

java.lang.Object
org.jxmpp.jid.parts.Part
All Implemented Interfaces:
Serializable, CharSequence
Direct Known Subclasses:
Domainpart, Localpart, Resourcepart

public abstract class Part extends Object implements CharSequence, Serializable
See Also:
  • Constructor Details

    • Part

      protected Part(String part)
  • Method Details

    • length

      public final int length()
      Specified by:
      length in interface CharSequence
    • charAt

      public final char charAt(int index)
      Specified by:
      charAt in interface CharSequence
    • subSequence

      public final CharSequence subSequence(int start, int end)
      Specified by:
      subSequence in interface CharSequence
    • toString

      public final String toString()
      Specified by:
      toString in interface CharSequence
      Overrides:
      toString in class Object
    • equals

      public final boolean equals(Object other)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object
    • assertNotLongerThan1023BytesOrEmpty

      protected static void assertNotLongerThan1023BytesOrEmpty(String string) throws org.jxmpp.stringprep.XmppStringprepException
      Throws:
      org.jxmpp.stringprep.XmppStringprepException
    • intern

      public final String intern()
      Returns the canonical String representation of this Part. See String.intern() for details.
      Returns:
      the canonical String representation.