public class Mime extends Object
| Constructor and Description |
|---|
Mime() |
| Modifier and Type | Method and Description |
|---|---|
static String |
base64Encode(byte[] bytesToEncode) |
static String |
base64Encode(byte[] bytesToEncode,
int offset,
int length) |
static String |
base64Encode(String str) |
public static String base64Encode(String str)
str - A String to encode into base64 String.public static String base64Encode(byte[] bytesToEncode)
bytesToEncode - A byte array to encode into base64 String.public static String base64Encode(byte[] bytesToEncode, int offset, int length)
bytesToEncode - A byte array to encode into base64 String.offset - Offset to begin atlength - Length to read