Class Java7Base64Encoder
- java.lang.Object
-
- org.jivesoftware.smack.util.stringencoder.java7.Java7Base64Encoder
-
- All Implemented Interfaces:
Base64.Encoder
public final class Java7Base64Encoder extends Object implements Base64.Encoder
A Base 64 encoding implementation.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
decode(String string)
byte[]
encode(byte[] input)
String
encodeToString(byte[] input)
String
encodeToStringWithoutPadding(byte[] input)
static Java7Base64Encoder
getInstance()
-
-
-
Method Detail
-
getInstance
public static Java7Base64Encoder getInstance()
-
decode
public byte[] decode(String string)
- Specified by:
decode
in interfaceBase64.Encoder
-
encodeToString
public String encodeToString(byte[] input)
- Specified by:
encodeToString
in interfaceBase64.Encoder
-
encodeToStringWithoutPadding
public String encodeToStringWithoutPadding(byte[] input)
- Specified by:
encodeToStringWithoutPadding
in interfaceBase64.Encoder
-
encode
public byte[] encode(byte[] input)
- Specified by:
encode
in interfaceBase64.Encoder
-
-