Class BareJidEncoder.UrlSafeEncoder

    • Method Detail

      • encode

        public java.lang.String encode​(BareJid jid)
        Description copied from interface: StringEncoder
        Encodes an object to another representation.
        Parameters:
        jid - the object to encode.
        Returns:
        the encoded String
      • decode

        public BareJid decode​(java.lang.String string)
        Description copied from interface: StringEncoder
        Decodes a string back to it's initial representation.
        Parameters:
        string - the string to decode.
        Returns:
        the decoded object