Package tigase.util.stringprep
Class XMPPStringPrepSimple
java.lang.Object
tigase.util.stringprep.XMPPStringPrepSimple
- All Implemented Interfaces:
XMPPStringPrepIfc
Created: Feb 4, 2010 9:31:23 AM
- Version:
- $Rev$
- Author:
- Artur Hefczyc
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
XMPPStringPrepSimple
public XMPPStringPrepSimple()
-
-
Method Details
-
nameprep
Description copied from interface:XMPPStringPrepIfcJID's domain part stringprep processing. In RFC-3920 this is called nameprep processing.- Specified by:
nameprepin interfaceXMPPStringPrepIfc- Parameters:
domain- aStringvalue of the JID's domain part.- Returns:
- nameprep processed JID's doman part.
- Throws:
TigaseStringprepException- if stringprep exception occurs.
-
nodeprep
Description copied from interface:XMPPStringPrepIfcJID's localpart (or nick name) stringprep processing. In RFC-3920 this is called nodeprep processing.- Specified by:
nodeprepin interfaceXMPPStringPrepIfc- Parameters:
localpart- aStringvalue of the JID's localpart.- Returns:
- nodeprep processed JID's localpart.
- Throws:
TigaseStringprepException- if stringprep exception occurs.
-
resourceprep
Description copied from interface:XMPPStringPrepIfcJID's resource stringprep proessing. In RFC-3920 this is called resourceprep processing.- Specified by:
resourceprepin interfaceXMPPStringPrepIfc- Parameters:
resource- aStringvalue of the JID's resource part.- Returns:
- resourceprep processed JID's resource part.
- Throws:
TigaseStringprepException- if stringprep exception occurs.
-