Class BareJidEncoder.LegacyEncoder

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

Deprecated.
  • Constructor Details

  • Method Details

    • encode

      public 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(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