AndBase开发框架  1.6
 全部  命名空间 文件 函数 变量 枚举值 
静态 Public 成员函数 | 静态 Private 属性 | 所有成员列表
com.ab.util.AbBase64类 参考

静态 Public 成员函数

static final String encode (String str, String charsetName)
 
static final String encode (String str, String charsetName, int width)
 
static final String decode (String str, String charsetName)
 

静态 Private 属性

static final char[] base64EncodeChars
 
static final byte[] base64DecodeChars
 

详细描述

© 2012 amsoft.cn 名称:AbBase64.java 描述:Base64工具类.

作者
还如一梦中
版本
v1.0
日期
:2011-11-10 下午11:52:13

成员函数说明

static final String com.ab.util.AbBase64.decode ( String  str,
String  charsetName 
)
inlinestatic

Decode.

参数
strthe str
charsetNamethe charset name
返回
the string
static final String com.ab.util.AbBase64.encode ( String  str,
String  charsetName 
)
inlinestatic

Encode.

参数
strthe str
charsetNamethe charset name
返回
the string
static final String com.ab.util.AbBase64.encode ( String  str,
String  charsetName,
int  width 
)
inlinestatic

Encode.

参数
strthe str
charsetNamethe charset name
widththe width
返回
the string

类成员变量说明

final byte [] com.ab.util.AbBase64.base64DecodeChars
staticprivate
初始值:
= new byte[] {-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, 62, -1, -1, -1, 63, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, -1,
-1, -1, -1, -1, -1, -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,
21, 22, 23, 24, 25, -1, -1, -1, -1, -1, -1, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38,
39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, -1, -1, -1, -1, -1}

The Constant base64DecodeChars.

final char [] com.ab.util.AbBase64.base64EncodeChars
staticprivate
初始值:
= new char[] {'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I',
'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', 'a', 'b',
'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u',
'v', 'w', 'x', 'y', 'z', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '+', '/'}

The Constant base64EncodeChars.


该类的文档由以下文件生成: