Class BareJidEncoder.LegacyEncoder

java.lang.Object
org.jivesoftware.smack.util.stringencoder.BareJidEncoder
org.jivesoftware.smack.util.stringencoder.BareJidEncoder.LegacyEncoder
All Implemented Interfaces:
StringEncoder<org.jxmpp.jid.BareJid>
Enclosing class:
BareJidEncoder

@Deprecated public static class BareJidEncoder.LegacyEncoder extends BareJidEncoder
Deprecated.
  • Constructor Details

    • LegacyEncoder

      public LegacyEncoder()
      Deprecated.
  • Method Details

    • encode

      public String encode(org.jxmpp.jid.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 org.jxmpp.jid.BareJid decode(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