上一页 1 2 3 4 5 6 7 8 9 ··· 15 下一页
摘要: package com.liftsail.testprofiledemo.utiltest; import org.springframework.util.CollectionUtils; import java.util.*; /** * @Author: liftsail * @Date: 2 阅读全文
posted @ 2022-12-02 13:05 liftsail 阅读(672) 评论(0) 推荐(0) 编辑
摘要: //Java拼接字符串时,去掉最后一个多余的逗号 String str[] = { "hello", "beijing", "world", "shenzhen" }; StringBuffer buf = new StringBuffer(); for (int i = 0; i < str.le 阅读全文
posted @ 2022-12-02 10:05 liftsail 阅读(217) 评论(0) 推荐(0) 编辑
摘要: <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/P 阅读全文
posted @ 2022-12-01 16:12 liftsail 阅读(39) 评论(0) 推荐(0) 编辑
摘要: 1.项目结构 2.代码实现 QuartzConfig package com.liftsail.quartzpersisteddemo.quartz.config; import org.quartz.Scheduler; import org.springframework.beans.facto 阅读全文
posted @ 2022-11-25 18:06 liftsail 阅读(542) 评论(0) 推荐(0) 编辑
摘要: 1.maven依赖 <dependency> <groupId>commons-codec</groupId> <artifactId>commons-codec</artifactId> <version>1.10</version> </dependency> 2.代码 package com. 阅读全文
posted @ 2022-11-24 13:17 liftsail 阅读(100) 评论(0) 推荐(0) 编辑
摘要: 关于配置执行定时任务和异步任务的线程池配置类1 package com.liftsail.rsademo.utils; import lombok.extern.slf4j.Slf4j; import org.springframework.aop.interceptor.AsyncUncaught 阅读全文
posted @ 2022-11-23 20:49 liftsail 阅读(202) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2022-11-22 10:10 liftsail 阅读(29) 评论(0) 推荐(0) 编辑
摘要: 了解log4j、log4j2之间的关系;以及与slf4j整合时使用的中间jar包:slf4j-log4j12、log4j-slf4j-impl。 1.Log4j log4j核心包只有一个,即log4j.jar。上图是log4j最后的版本,版本号是1.2 包名:org.apache.log4j 配置文 阅读全文
posted @ 2022-11-22 09:38 liftsail 阅读(223) 评论(0) 推荐(0) 编辑
摘要: 什么是 Bash简介Bash(GNU Bourne-Again Shell)是一个为 GNU 计划编写的 Unix shell,它是许多 Linux 平台默认使用的 shell。 shell 是一个命令解释器,是介于操作系统内核与用户之间的一个绝缘层。准确地说,它也是能力很强的计算机语言,被称为解释 阅读全文
posted @ 2022-11-19 09:58 liftsail 阅读(4042) 评论(0) 推荐(0) 编辑
摘要: demo01 import java.io.FileInputStream;import java.io.FileNotFoundException;import java.io.IOException; public class Test { private final static int BU 阅读全文
posted @ 2022-11-18 17:56 liftsail 阅读(403) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 15 下一页