摘要: /** * <p>将文件转成base64 字符串</p> * @param path 文件路径 * @return * @throws Exception */ public static String encodeBase64File(String path) throws Exception { File file = new File(path); FileInputStream inputFile = new FileInputStream(file); byte[] buffer = n... 阅读全文
posted @ 2012-03-15 11:16 aiplus 阅读(4345) 评论(0) 推荐(0) 编辑
摘要: /** * 将文件转成base64 字符串 * @param path 文件路径 * @return * @throws Exception */ public static String encodeBase64File(String path) throws Exception { ... 阅读全文
posted @ 2012-03-15 10:56 aiplus 阅读(597) 评论(0) 推荐(0) 编辑
悬浮按钮示例
点击右上角即可分享
微信分享提示