Interface StringEncoder<O>
- All Known Implementing Classes:
BareJidEncoder,BareJidEncoder.LegacyEncoder,BareJidEncoder.UrlSafeEncoder
public interface StringEncoder<O>
An interface for String encoder.
-
Method Summary
-
Method Details
-
encode
Encodes an object to another representation.- Parameters:
object- the object to encode.- Returns:
- the encoded String
-
decode
Decodes a string back to it's initial representation.- Parameters:
string- the string to decode.- Returns:
- the decoded object
-