public class Localpart extends Part
You can create instances of this class from Strings using from(String).
| Modifier and Type | Method and Description |
|---|---|
static Localpart |
from(java.lang.String localpart)
Get the
Localpart representing the input String. |
assertNotLongerThan1023BytesOrEmpty, charAt, equals, hashCode, intern, length, subSequence, toStringpublic static Localpart from(java.lang.String localpart) throws org.jxmpp.stringprep.XmppStringprepException
Localpart representing the input String.localpart - the input String.org.jxmpp.stringprep.XmppStringprepException - if an error occurs.