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
-
Method Summary
Modifier and TypeMethodDescriptionprotected static void
final char
charAt
(int index) final boolean
final int
hashCode()
final String
intern()
Returns the canonical String representation of this Part.final int
length()
final CharSequence
subSequence
(int start, int end) final String
toString()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.CharSequence
chars, codePoints
-
Constructor Details
-
Part
-
-
Method Details
-
length
- Specified by:
length
in interfaceCharSequence
-
charAt
- Specified by:
charAt
in interfaceCharSequence
-
subSequence
- Specified by:
subSequence
in interfaceCharSequence
-
toString
- Specified by:
toString
in interfaceCharSequence
- Overrides:
toString
in 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.
-