public class XmppStringPrepUtil extends Object
| Constructor and Description | 
|---|
XmppStringPrepUtil()  | 
| Modifier and Type | Method and Description | 
|---|---|
static String | 
domainprep(String string)
Perform domainprep on the input String. 
 | 
static String | 
localprep(String string)
Perform localprep on the input String. 
 | 
static String | 
resourceprep(String string)
Perform resourceprep on the input String. 
 | 
static void | 
setMaxCacheSizes(int size)
Set the maximum cache sizes. 
 | 
static void | 
setXmppStringprep(XmppStringprep xmppStringprep)
Set the XMPP Stringprep implementation to use. 
 | 
public XmppStringPrepUtil()
public static void setXmppStringprep(XmppStringprep xmppStringprep)
xmppStringprep - the XMPP Stringprep implementation to use.public static String localprep(String string) throws XmppStringprepException
string - the input String.XmppStringprepException - if the input String can not be transformed.public static String domainprep(String string) throws XmppStringprepException
string - the input String.XmppStringprepException - if the input String can not be transformed.public static String resourceprep(String string) throws XmppStringprepException
string - the input String.XmppStringprepException - if the input String can not be transformed.public static void setMaxCacheSizes(int size)
size - the maximum cache size.