|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectorg.jiucai.appframework.common.encode.Base64
public final class Base64
Base64 编码解码类
Copyright: Ma BingyaoVersion: 3.0.2 LastModified: Apr 12, 2010 This library is free. You can redistribute it and/or modify it under GPL. 完整的base64定义可见 RFC1421和 RFC2045。编码后的数据比原始数据略长,为原来的4/3。
| 方法摘要 | |
|---|---|
static byte[] |
decode(String str)
已经编码的Base64字符串进行解码 |
static String |
encode(byte[] data)
对字节数组进行编码 |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 方法详细信息 |
|---|
public static final String encode(byte[] data)
data - 要编码的字节数组
public static final byte[] decode(String str)
str - 已经编码的Base64字符串
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||