public abstract class Part extends Object implements CharSequence, Serializable
Modifier and Type | Method and Description |
---|---|
protected static void |
assertNotLongerThan1023BytesOrEmpty(String string) |
char |
charAt(int index) |
boolean |
equals(Object other) |
int |
hashCode() |
String |
intern()
Returns the canonical String representation of this Part.
|
int |
length() |
CharSequence |
subSequence(int start,
int end) |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
chars, codePoints
public final int length()
length
in interface CharSequence
public final char charAt(int index)
charAt
in interface CharSequence
public final CharSequence subSequence(int start, int end)
subSequence
in interface CharSequence
public final String toString()
toString
in interface CharSequence
toString
in class Object
protected static void assertNotLongerThan1023BytesOrEmpty(String string) throws XmppStringprepException
XmppStringprepException
public final String intern()
String.intern()
for details.