Class AndroidBase64UrlSafeEncoder
java.lang.Object
org.jivesoftware.smack.util.stringencoder.android.AndroidBase64UrlSafeEncoder
- All Implemented Interfaces:
StringEncoder<String>
An URL-safe Base64 encoder.
-
Field Summary
Fields -
Method Summary
-
Field Details
-
INSTANCE
An instance of this encoder.
-
-
Method Details
-
encode
Description copied from interface:StringEncoder
Encodes an object to another representation.- Specified by:
encode
in interfaceStringEncoder<String>
- Parameters:
string
- the object to encode.- Returns:
- the encoded String
-
decode
Description copied from interface:StringEncoder
Decodes a string back to it's initial representation.- Specified by:
decode
in interfaceStringEncoder<String>
- Parameters:
string
- the string to decode.- Returns:
- the decoded object
-