摘要: ​ 文件下载: 链接: https://pan.baidu.com/s/1VqK6tjv3-pnQUz91SnP7Vw 提取码: eu87 自动重置安装 安装 安装插件 直接将zip包拖拽到开发工具 注意:插件位置不要移动,也不要删除 ​ 编辑 重启 重启插件,出现红框内容,说明已经安装成功;记住, 阅读全文
posted @ 2022-11-30 10:20 Leslie·qiu 阅读(2107) 评论(0) 推荐(0)
摘要: 一、使用Aspose 1、前言: 1)Aspose可能需要收费,在https://mvnrepository.com/上有可能下载不下来,所以配上Aspose.Pdf的jar包 链接:https://pan.baidu.com/s/1kqhgT1hUsNxCR1xE9hIUkA 提取码:1el6 2 阅读全文
posted @ 2021-07-29 17:34 Leslie·qiu 阅读(2572) 评论(2) 推荐(0)
摘要: 1、先看效果图 原始文件: 结果: 代码: package com.test.wordTest; import org.apache.poi.hwpf.HWPFDocument; import org.apache.poi.hwpf.usermodel.CharacterRun; import or 阅读全文
posted @ 2021-06-28 18:20 Leslie·qiu 阅读(3291) 评论(1) 推荐(0)
摘要: https://img-blog.csdnimg.cn/20210604092424521.jpg?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L1JvbWFudGljXzMyMQ==,size_16,color_FFFFFF,t_70 阅读全文
posted @ 2021-06-22 17:00 Leslie·qiu 阅读(129) 评论(0) 推荐(0)
摘要: 1、首先下载pdf.js源码,下载地址为:http://mozilla.github.io/pdf.js/ 2、解压放到自己的项目当中,位置自己选择 3、前端html代码 <iframe id="showPdf" src="static/pdfjs/web/viewer.html?file=prev 阅读全文
posted @ 2021-06-22 16:41 Leslie·qiu 阅读(556) 评论(0) 推荐(0)
摘要: 一、首先list遍历方法有那么几种:使用for循环、iterator、还有就是lambda表达式循环 1、首先创建一个测试类 class User2{ Integer id; String name; public User2(Integer id, String name) { this.id = 阅读全文
posted @ 2021-04-29 14:29 Leslie·qiu 阅读(2120) 评论(0) 推荐(0)
摘要: public static boolean isMobileDevice(String requestHeader){ /** * android : 所有android设备 * mac os : iphone ipad * windows phone:Nokia等windows系统的手机 */ S 阅读全文
posted @ 2021-04-28 18:56 Leslie·qiu 阅读(627) 评论(0) 推荐(0)
摘要: 话不多说,直接上代码: 1 @Test 2 public void mapLambdaTest(){ 3 Map<String,Integer> map = new LinkedHashMap<>(); 4 map.put("张三",50); 5 map.put("李四",60); 6 map.pu 阅读全文
posted @ 2021-03-11 10:19 Leslie·qiu 阅读(825) 评论(0) 推荐(0)
摘要: 一、准备工作 1、声明一个对象 class User{ private Integer userId; private String userName; public Integer getUserId() { return userId; } public void setUserId(Integ 阅读全文
posted @ 2021-01-27 16:57 Leslie·qiu 阅读(5013) 评论(0) 推荐(1)
摘要: JAVA对Map按Value值排序 在java实际编程中经常需要使用到HashMap,TreeMap以及LinkedHashMap来保存键值对,而java中对Map按Value排序并没有已经写好的方法,需要自己实现。作者使用了自定义类以及Collections包的sort()方法实现Map的按值排序 阅读全文
posted @ 2021-01-27 16:51 Leslie·qiu 阅读(1886) 评论(0) 推荐(0)