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 public static class BareJidEncoder.LegacyEncoder extends BareJidEncoder
Deprecated.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jivesoftware.smack.util.stringencoder.BareJidEncoder
BareJidEncoder.LegacyEncoder, BareJidEncoder.UrlSafeEncoder
-
-
Constructor Summary
Constructors Constructor Description LegacyEncoder()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description BareJid
decode(java.lang.String string)
Deprecated.Decodes a string back to it's initial representation.java.lang.String
encode(BareJid jid)
Deprecated.Encodes an object to another representation.
-
-
-
Constructor Detail
-
LegacyEncoder
public LegacyEncoder()
Deprecated.
-
-
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
-
-