Base64工具 类名: Base64Util encode /** * 编码 * @param value 字符串 * @return {String} */Base64Util.encode(String value); encode /** * 编码 * @param value 字符串 * @param charset 字符集 * @return {String} */Base64Util.encode(String value, Charset charset); encodeUrlSafe /** * 编码URL安全 * @param value 字符串 * @return {String} */Base64Util.encodeUrlSafe(String value); encodeUrlSafe /** * 编码URL安全 * @param value 字符串 * @param charset 字符集 * @return {String} */Base64Util.encodeUrlSafe(String value, Charset charset); decode /** * 解码 * @param value 字符串 * @return {String} */Base64Util.decode(String value); decode /** * 解码 * @param value 字符串 * @param charset 字符集 * @return {String} */Base64Util.decode(String value, Charset charset); decodeUrlSafe /** * 解码URL安全 * @param value 字符串 * @return {String} */Base64Util.decodeUrlSafe(String value); decodeUrlSafe /** * 解码URL安全 * @param value 字符串 * @param charset 字符集 * @return {String} */Base64Util.decodeUrlSafe(String value, Charset charset); 微信 vs 公众号 精彩内容每日推荐!!!