public class XMPPStringPrepSimple extends Object implements XMPPStringPrepIfc
Constructor and Description |
---|
XMPPStringPrepSimple() |
Modifier and Type | Method and Description |
---|---|
String |
nameprep(String domain)
JID's domain part stringprep processing.
|
String |
nodeprep(String localpart)
JID's localpart (or nick name) stringprep processing.
|
String |
resourceprep(String resource)
JID's resource stringprep proessing.
|
public String nameprep(String domain) throws TigaseStringprepException
XMPPStringPrepIfc
nameprep
in interface XMPPStringPrepIfc
domain
- a String
value of the JID's domain part.TigaseStringprepException
- if stringprep exception occurs.public String nodeprep(String localpart) throws TigaseStringprepException
XMPPStringPrepIfc
nodeprep
in interface XMPPStringPrepIfc
localpart
- a String
value of the JID's localpart.TigaseStringprepException
- if stringprep exception occurs.public String resourceprep(String resource) throws TigaseStringprepException
XMPPStringPrepIfc
resourceprep
in interface XMPPStringPrepIfc
resource
- a String
value of the JID's resource part.TigaseStringprepException
- if stringprep exception occurs.Copyright © 2017 "Tigase, Inc.". All rights reserved.