摘要:
/** * <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
阅读(4355)
评论(0)
推荐(0)
摘要:
/** * 将文件转成base64 字符串 * @param path 文件路径 * @return * @throws Exception */ public static String encodeBase64File(String path) throws Exception { ... 阅读全文
posted @ 2012-03-15 10:56
aiplus
阅读(605)
评论(0)
推荐(0)

浙公网安备 33010602011771号