摘要: /** * 超简略导出Excel */ public static void exportExcel() throws Exception{ //导出的文件 OutputStream outputStream = new FileOutputStream(new File("1.xlsx")); // 声明一个... 阅读全文
posted @ 2019-11-01 14:46 陌路×难飞 阅读(161) 评论(0) 推荐(0) 编辑
摘要: public class MD5Utils { public static void main(String[] args) throws Exception{ File file = new File("D:\\msdia80.dll"); String md5 = MD5Utils.getMD5(new FileInputStream(file)); System.out.println(md 阅读全文
posted @ 2019-11-01 10:29 陌路×难飞 阅读(1046) 评论(0) 推荐(0) 编辑
摘要: 图片缩放 阿里云OSS的图片处理功能支持处理上传至OSS的图片文件,本文主要介绍如何进行图片缩放。 说明: 图片处理支持的格式:jpg、png、bmp、gif、webp、tiff。 图片缩放参数 操作名称:resize 指定宽高缩放 名称描述取值范围 m 指定缩略的模式: - lfit:等比缩放,限 阅读全文
posted @ 2019-11-01 10:19 陌路×难飞 阅读(1429) 评论(0) 推荐(0) 编辑