上一页 1 2 3 4 5 6 ··· 13 下一页
摘要: 阿里云分片上传 import com.aliyun.oss.ClientException; import com.aliyun.oss.OSS; import com.aliyun.oss.OSSClientBuilder; import com.aliyun.oss.OSSException; 阅读全文
posted @ 2022-12-02 14:36 liftsail 阅读(148) 评论(0) 推荐(0) 编辑
摘要: import com.qiniu.common.QiniuException; import com.qiniu.http.Client; import com.qiniu.util.Auth; import test.com.qiniu.TempFile; import java.io.File; 阅读全文
posted @ 2022-12-02 14:31 liftsail 阅读(750) 评论(0) 推荐(0) 编辑
摘要: package com.liftsail.testprofiledemo.utiltest; import org.springframework.util.CollectionUtils; import java.util.*; /** * @Author: liftsail * @Date: 2 阅读全文
posted @ 2022-12-02 13:05 liftsail 阅读(624) 评论(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 阅读(212) 评论(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:13 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 阅读(519) 评论(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 阅读(97) 评论(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 阅读(194) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2022-11-22 10:10 liftsail 阅读(28) 评论(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 阅读(211) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 13 下一页