![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
工具类
秘密基塔
学海无涯 回头是岸
展开
-
对象拷贝工具类(fastjson)
开发中,都会遇到对象拷贝的需求,本工具类支持嵌套对象的拷贝依赖<dependency> <groupId>com.alibaba</groupId> <artifactId>fastjson</artifactId> <version>1.2.79</version></dependency>package com.example.demo.utils;import原创 2022-03-10 14:17:33 · 905 阅读 · 0 评论 -
RSA公私钥加密工具类
import org.apache.commons.codec.binary.Base64;import javax.crypto.Cipher;import java.nio.charset.StandardCharsets;import java.security.*;import java.security.interfaces.RSAPrivateKey;import java.security.interfaces.RSAPublicKey;import java.security..原创 2021-08-26 17:03:29 · 507 阅读 · 0 评论 -
JAVA 日期工具类
import java.time.DayOfWeek;import java.time.LocalDate;import java.time.LocalDateTime;import java.time.ZoneId;import java.time.format.DateTimeFormatter;import java.time.temporal.TemporalAdjuster;import java.time.temporal.TemporalAdjusters;import jav.原创 2021-07-05 15:22:17 · 189 阅读 · 0 评论 -
JAVA 二维码生成(com.google.zxing)
依赖 <dependency> <groupId>com.google.zxing</groupId> <artifactId>core</artifactId> <version>3.4.0</version> </dependency> <dependency>原创 2021-07-02 16:28:12 · 547 阅读 · 1 评论