package com.blog.lucene; import com.blog.entity.Blog; import com.blog.utils.DateUtils; import com.blog.utils.StringUtils; import org.apache.commons.la ...
分类:
编程语言 时间:
2020-04-04 09:54:28
阅读次数:
72
import org.apache.commons.lang3.ArrayUtils; public static boolean useArrayUtils(String[] arr, String targetValue) { return ArrayUtils.contains(arr,tar ...
分类:
编程语言 时间:
2020-04-02 18:17:09
阅读次数:
181
看这个:https://blog.csdn.net/yangfei001/article/details/40926423?depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.no ...
分类:
Web程序 时间:
2020-03-31 00:58:18
阅读次数:
91
[TOC] 0x00 前言 Apache Commons Collections是Java中应用广泛的一个库,包括Weblogic、JBoss、WebSphere、Jenkins等知名大型Java应用。 0x01 基础知识 Transformer Transfomer是Apache Commons ...
分类:
Web程序 时间:
2020-03-26 01:07:13
阅读次数:
150
RSA加密算法:RSA加密算法是一种非对称加密算法。解密者拥有私钥,并且将由私钥计算生成的公钥发布给加密者。加密都使用公钥进行加密,并将密文发送到解密者,解密者用私钥解密将密文解码为明文。 import org.apache.commons.codec.binary.Base64; import j ...
分类:
编程语言 时间:
2020-03-24 15:50:34
阅读次数:
74
编写敏感词过滤器 敏感词过滤器用来过滤掉字符串或文本中的敏感词汇! package com.nowcoder.community.util; import org.apache.commons.lang3.CharUtils; import org.apache.commons.lang3.Stri ...
分类:
其他好文 时间:
2020-03-22 10:49:56
阅读次数:
78
BeanUtils BeanUtils工具包是由Apache公司所开发,主要是方便程序员对Bean类能够进行简便的操作。 BeanUtils一共分4个包: org.apache.commons.beanutils org.apache.commons.beanutils.converters org ...
分类:
其他好文 时间:
2020-03-21 14:46:19
阅读次数:
53
1 添加redis依赖 <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-pool2</artifactId> <version>2.4.2</version> </dependency> <dependen ...
分类:
编程语言 时间:
2020-03-15 13:35:18
阅读次数:
53
1 添加Redis依赖 引入需要集成的redis版本 <!--spring redis 2.8.2 start--> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-pool2</artifactId> < ...
分类:
编程语言 时间:
2020-03-15 13:18:15
阅读次数:
66
打开 【系统管理】->【脚本命令行】运行下面的命令 System.setProperty('org.apache.commons.jelly.tags.fmt.timeZone', 'Asia/Shanghai') ...
分类:
其他好文 时间:
2020-03-05 13:47:53
阅读次数:
103