随笔分类 - 常用开发工具
摘要:package com.xx.xx.core.utils; import cn.hutool.core.util.ReflectUtil; import com.xx.tools.utils.BeanUtil; import com.xx.tools.utils.StringUtil; import
阅读全文
摘要:在线JSON转EXCEL工具 https://wejson.cn/json2excel/在线格式化工具 https://tool.oschina.net/codeformat/xmlhutool工具 https://hutool.cn/token登录工具 https://sa-token.dev33
阅读全文
摘要:https://www.cnblogs.com/chenggang816/p/10214950.html private boolean isOk(String url) { if(StrUtil.isEmpty(url)) return false; try { URL netUrl = new
阅读全文
摘要:https://hutool.cn/docs/#/core/%E7%B1%BB%E5%9E%8B%E8%BD%AC%E6%8D%A2/%E7%B1%BB%E5%9E%8B%E8%BD%AC%E6%8D%A2%E5%B7%A5%E5%85%B7%E7%B1%BB-Convert
阅读全文
摘要:private String generateCode() { int min = 100000; int max = 1000000; Random rand = new Random(); int res = this.rand.nextInt(max - min) + min; return
阅读全文
该文被密码保护。
摘要:package com.jpa.demo.util; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; public class DateUtil { private static String pattern1 = "yyyy-MM-dd"; private sta
阅读全文