随笔分类 -  常用工具类

摘要:1、引入相关依赖 <dependency> <groupId>org.apache.poi</groupId> <artifactId>poi</artifactId> <version>4.1.1</version> </dependency> <dependency> <groupId>org. 阅读全文
posted @ 2024-11-08 16:36 初·陽 阅读(181) 评论(0) 推荐(0) 编辑
摘要:public class SslUtils { private static void trustAllHttpsCertificates() throws Exception { TrustManager[] trustAllCerts = new TrustManager[1]; TrustMa 阅读全文
posted @ 2023-08-30 11:46 初·陽 阅读(1106) 评论(0) 推荐(0) 编辑
摘要:package com.guochuang.gov.dc.common.util;import java.util.Scanner;import java.util.regex.Pattern;public class PasswordCheckUtil { /** * 假定设置密码时,密码规则为: 阅读全文
posted @ 2023-08-16 17:18 初·陽 阅读(475) 评论(0) 推荐(0) 编辑