|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectcom.alibaba.druid.util.Base64
public class Base64
Static methods for translating Base64 encoded strings to byte arrays and vice-versa.
Preferences| 构造方法摘要 | |
|---|---|
Base64()
|
|
| 方法摘要 | |
|---|---|
static byte[] |
altBase64ToByteArray(String s)
Translates the specified "alternate representation" Base64 string into a byte array. |
static byte[] |
base64ToByteArray(String s)
Translates the specified Base64 string (as per Preferences.get(byte[])) into a byte array. |
static String |
byteArrayToAltBase64(byte[] a)
Translates the specified byte array into an "alternate representation" Base64 string. |
static String |
byteArrayToBase64(byte[] a)
Translates the specified byte array into a Base64 string as per Preferences.put(byte[]). |
| 从类 java.lang.Object 继承的方法 |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 构造方法详细信息 |
|---|
public Base64()
| 方法详细信息 |
|---|
public static String byteArrayToBase64(byte[] a)
public static String byteArrayToAltBase64(byte[] a)
public static byte[] base64ToByteArray(String s)
public static byte[] altBase64ToByteArray(String s)
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||