|
|||||||||
| 上一个类 下一个类 | 框架 无框架 | ||||||||
| 摘要: 嵌套 | 字段 | 构造函数 | 方法 | 详细信息: 字段 | 构造函数 | 方法 | ||||||||
java.lang.Objectexcel.util.Base64Coder
public class Base64Coder
| 构造函数摘要 | |
|---|---|
Base64Coder()
|
|
| 方法摘要 | |
|---|---|
static byte[] |
decode(char[] in)
Decodes Base64 data. |
static java.lang.String |
decode(java.lang.String s)
Decodes a Base64 string. |
static char[] |
encode(byte[] in)
Encodes a byte array into Base64 format. |
static char[] |
encode(byte[] in,
int length)
|
static java.lang.String |
encode(java.lang.String s)
Encodes a string into Base64 format. |
| 从类 java.lang.Object 继承的方法 |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 构造函数详细信息 |
|---|
public Base64Coder()
| 方法详细信息 |
|---|
public static java.lang.String encode(java.lang.String s)
s - a String to be encoded.
public static char[] encode(byte[] in)
in - an array containing the data bytes to be encoded.
public static char[] encode(byte[] in,
int length)
public static java.lang.String decode(java.lang.String s)
s - a Base64 String to be decoded.
java.lang.IllegalArgumentException - if the input is not valid Base64 encoded data.public static byte[] decode(char[] in)
in - a character array containing the Base64 encoded data.
java.lang.IllegalArgumentException - if the input is not valid Base64 encoded data.
|
|||||||||
| 上一个类 下一个类 | 框架 无框架 | ||||||||
| 摘要: 嵌套 | 字段 | 构造函数 | 方法 | 详细信息: 字段 | 构造函数 | 方法 | ||||||||