Class Base64
- java.lang.Object
-
- org.jivesoftware.smack.util.stringencoder.Base64
-
public class Base64 extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
Base64.Encoder
-
Constructor Summary
Constructors Constructor Description Base64()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static byte[]
decode(byte[] input)
static byte[]
decode(java.lang.String string)
static java.lang.String
decodeToString(java.lang.String string)
static byte[]
encode(byte[] input)
static java.lang.String
encode(java.lang.String string)
static java.lang.String
encodeToString(byte[] input)
static java.lang.String
encodeToString(byte[] input, int offset, int len)
static java.lang.String
encodeToStringWithoutPadding(byte[] input)
static void
setEncoder(Base64.Encoder encoder)
-
-
-
Constructor Detail
-
Base64
public Base64()
-
-
Method Detail
-
setEncoder
public static void setEncoder(Base64.Encoder encoder)
-
encode
public static final java.lang.String encode(java.lang.String string)
-
encodeToString
public static final java.lang.String encodeToString(byte[] input)
-
encodeToString
public static final java.lang.String encodeToString(byte[] input, int offset, int len)
-
encodeToStringWithoutPadding
public static final java.lang.String encodeToStringWithoutPadding(byte[] input)
-
encode
public static final byte[] encode(byte[] input)
-
decodeToString
public static final java.lang.String decodeToString(java.lang.String string)
-
decode
public static final byte[] decode(java.lang.String string)
-
decode
public static final byte[] decode(byte[] input)
-
-