Class RocksXmppPrecisStringprep
- java.lang.Object
 - 
- org.jxmpp.stringprep.rocksxmppprecis.RocksXmppPrecisStringprep
 
 
- 
- All Implemented Interfaces:
 XmppStringprep
public class RocksXmppPrecisStringprep extends Object implements XmppStringprep
 
- 
- 
Field Summary
Fields Modifier and Type Field Description static RocksXmppPrecisStringprepINSTANCEstatic StringNAME 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringdomainprep(String string)Performs String preparation on the domainpart String of a JID.Stringlocalprep(String string)Performs String preparation on the localpart String of a JID.Stringresourceprep(String string)Performs String preparation on the resourcepart String of a JID. 
 - 
 
- 
- 
Field Detail
- 
INSTANCE
public static final RocksXmppPrecisStringprep INSTANCE
 
- 
NAME
public static final String NAME
- See Also:
 - Constant Field Values
 
 
 - 
 
- 
Method Detail
- 
localprep
public String localprep(String string) throws XmppStringprepException
Description copied from interface:XmppStringprepPerforms String preparation on the localpart String of a JID. In RFC 6122 terms this means applying the nodeprep profile of Stringprep.- Specified by:
 localprepin interfaceXmppStringprep- Parameters:
 string- the String to transform.- Returns:
 - the prepared String.
 - Throws:
 XmppStringprepException- if there is an error.
 
- 
domainprep
public String domainprep(String string) throws XmppStringprepException
Description copied from interface:XmppStringprepPerforms String preparation on the domainpart String of a JID. In RFC 61ss terms, this means applying the nameprep profile of Stringprep.- Specified by:
 domainprepin interfaceXmppStringprep- Parameters:
 string- the String to transform.- Returns:
 - the prepared String.
 - Throws:
 XmppStringprepException- if there is an error.
 
- 
resourceprep
public String resourceprep(String string) throws XmppStringprepException
Description copied from interface:XmppStringprepPerforms String preparation on the resourcepart String of a JID. In RFC 6122 terms this means applying the resourceprep profile of Stringprep.- Specified by:
 resourceprepin interfaceXmppStringprep- Parameters:
 string- the String to transform.- Returns:
 - the prepared String.
 - Throws:
 XmppStringprepException- if there is an error.
 
 - 
 
 -