Class BareJidEncoder.LegacyEncoder

    • Method Detail

      • encode

        public java.lang.String encode​(BareJid jid)
        Deprecated.
        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)
        Deprecated.
        Description copied from interface: StringEncoder
        Decodes a string back to it's initial representation.
        Parameters:
        string - the string to decode.
        Returns:
        the decoded object