- 博客(5)
- 收藏
- 关注
原创 批量打印远端PDF文件
场景 批量打印ftp端的PDF文件 思路 将远端的PDF文件读取到本地的临时目录中,合并,再打印合并后的PDF,然后删除临时文件中的PDF文件 导入依赖 itextpdf用于读取远端PDF文件,pdfbox用于合并本地PDF文件 <!-- itextpdf --> <dependency> <groupId>com.itextpdf</groupId> <artifactId>itextpdf</artifactId> <v
2021-11-01 17:00:56
355
原创 SpringBoot 整合tk.mybatis连接MySQL数据库
一、基本依赖导入 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> <dependency> <groupId>org.projectlombok</groupId> <artifactI
2021-10-20 15:47:00
407
原创 函数式接口
四大函数式接口什么是函数式接口四大函数式接口 什么是函数式接口 有且只有一个方法 实现方式可以用lambda改写 四大函数式接口 Function 函数式接口,有参数有返回值 /** * Function 函数式接口 */ public class demo1 { public static void main(String[] args) { // Function<String,String> function = new Function<String
2021-07-28 18:45:46
148
转载 Dom4j中使用asXML方法之节点自闭和问题
Dom4j中使用asXML方法之节点自闭和问题 1 asXML方法概述 在使用Dom4j的时候,有时候需要将一个Document对象或Element对象转换为一个String,可以直接调用Document.asXML()方法来实现。 其中:Element对象的element.asXML();指的是这个节点(元素)的开始到结束包含的内容组成String;Document 对象的document.as...
2020-01-03 15:24:08
1291
原创 基于ssm项目自定义AOP注解实现限流步骤
基于ssm项目自定义AOP注解实现限流步骤 具体操作步骤如下 第一步:定义自定义注解类 添加注解类 new Annotation 具体实现如下 @Target(value = ElementType.METHOD) @Retention(value = RetentionPolicy.RUNTIME) @Documented public @interface InterfaceCustom { ...
2019-07-25 10:32:59
781
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅