public class XmppStringPrepUtil
extends java.lang.Object
| Constructor and Description |
|---|
XmppStringPrepUtil() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
domainprep(java.lang.String string)
Perform domainprep on the input String.
|
static java.lang.String |
localprep(java.lang.String string)
Perform localprep on the input String.
|
static java.lang.String |
resourceprep(java.lang.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 static void setXmppStringprep(XmppStringprep xmppStringprep)
xmppStringprep - the XMPP Stringprep implementation to use.public static java.lang.String localprep(java.lang.String string)
throws XmppStringprepException
string - the input String.XmppStringprepException - if the input String can not be transformed.public static java.lang.String domainprep(java.lang.String string)
throws XmppStringprepException
string - the input String.XmppStringprepException - if the input String can not be transformed.public static java.lang.String resourceprep(java.lang.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.