XMPPStringPrepFactory¶
-
public abstract class
XMPPStringPrepFactory
¶ Created: Dec 28, 2009 10:02:31 PM
Author: Artur Hefczyc
Fields¶
Methods¶
getDefaultXMPPStringPrep¶
-
public static XMPPStringPrepIfc
getDefaultXMPPStringPrep
()¶ Factory method for creating and returning stringprep implementation used by the Tigase server. This factory allows for pluggable stringprep library usage and replacing the library used by default. The default stringprep processor uses LibIDN library. Very CPU demanding processing. Use with care in open, multi-lingual systems.
Returns: instance of XMPP Stringprep processor.
getEmptyXMPPStringPrep¶
-
public static XMPPStringPrepIfc
getEmptyXMPPStringPrep
()¶ Factory method for creating and returning stringprep implementation used by the Tigase server. This factory allows for pluggable stringprep library usage and replacing the library used by default. The empty stringprep processor does not perform any processing at all. It simply returns the string provided to the method. Recommended only in strictly controlled systems where there is no possibility of incorrectly formated JID getting to the system and the performance is the ke factor. uses simple Java
String
processing.Returns: instance of XMPP Stringprep processor.
getLibIDNXMPPStringPrep¶
-
public static XMPPStringPrepIfc
getLibIDNXMPPStringPrep
()¶ Factory method for creating and returning stringprep implementation used by the Tigase server. This factory allows for pluggable stringprep library usage and replacing the library used by default. The stringprep processor uses LibIDN library. Very CPU demanding processing. Use in open, multi-lingual systems.
Returns: instance of XMPP Stringprep processor.
getSimpleXMPPStringPrep¶
-
public static XMPPStringPrepIfc
getSimpleXMPPStringPrep
()¶ Factory method for creating and returning stringprep implementation used by the Tigase server. This factory allows for pluggable stringprep library usage and replacing the library used by default. The simple stringprep processor uses simple Java
String
processing. Recommended in relatively closed, single language systems where there is very low probability for in correct JIDs. Causes very low impact on performance.Returns: instance of XMPP Stringprep processor.
getXMPPStringPrep¶
-
public static XMPPStringPrepIfc
getXMPPStringPrep
(String stringprepProcessor)¶