public class Base64Util
extends Object
-
-
方法概要
static byte[]
static byte[]
static boolean
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
构造器详细资料
-
Base64Util
public Base64Util()
-
方法详细资料
-
-
-
encode
public static String encode(byte[] data)
将字节数组编码为字符串
- 参数:
data - data
- 返回:
- String
-
-
-
verify
public static boolean verify(String str)
检测是否符合base64编码规则
- 参数:
str - String
- 返回:
- boolean