Interface XmppStringprep

    • Method Detail

      • localprep

        String localprep​(String string)
                  throws XmppStringprepException
        Performs String preparation on the localpart String of a JID. In RFC 6122 terms this means applying the nodeprep profile of Stringprep.
        Parameters:
        string - the String to transform.
        Returns:
        the prepared String.
        Throws:
        XmppStringprepException - if there is an error.
      • domainprep

        String domainprep​(String string)
                   throws XmppStringprepException
        Performs String preparation on the domainpart String of a JID. In RFC 61ss terms, this means applying the nameprep profile of Stringprep.
        Parameters:
        string - the String to transform.
        Returns:
        the prepared String.
        Throws:
        XmppStringprepException - if there is an error.
      • resourceprep

        String resourceprep​(String string)
                     throws XmppStringprepException
        Performs String preparation on the resourcepart String of a JID. In RFC 6122 terms this means applying the resourceprep profile of Stringprep.
        Parameters:
        string - the String to transform.
        Returns:
        the prepared String.
        Throws:
        XmppStringprepException - if there is an error.