Package org.jxmpp.jid.parts
Class Part
java.lang.Object
org.jxmpp.jid.parts.Part
- All Implemented Interfaces:
Serializable,CharSequence
- Direct Known Subclasses:
Domainpart,Localpart,Resourcepart
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static voidfinal charcharAt(int index) final booleanfinal inthashCode()final Stringintern()Returns the canonical String representation of this Part.final intlength()final CharSequencesubSequence(int start, int end) final StringtoString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.CharSequence
chars, codePoints
-
Constructor Details
-
Part
-
-
Method Details
-
length
- Specified by:
lengthin interfaceCharSequence
-
charAt
- Specified by:
charAtin interfaceCharSequence
-
subSequence
- Specified by:
subSequencein interfaceCharSequence
-
toString
- Specified by:
toStringin interfaceCharSequence- Overrides:
toStringin classObject
-
equals
-
hashCode
-
assertNotLongerThan1023BytesOrEmpty
protected static void assertNotLongerThan1023BytesOrEmpty(String string) throws XmppStringprepException - Throws:
XmppStringprepException
-
intern
Returns the canonical String representation of this Part. SeeString.intern()for details.- Returns:
- the canonical String representation.
-