Interface StringEncoder<O>
- All Known Implementing Classes:
AndroidBase64UrlSafeEncoder
,BareJidEncoder
,BareJidEncoder.LegacyEncoder
,BareJidEncoder.UrlSafeEncoder
,Java7Base64UrlSafeEncoder
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
-