码迷,mamicode.com
首页 >  
搜索关键字:apache-commons    ( 1065个结果
校验工具ValidUtils
package com.lyqc.utils; import org.apache.commons.lang.StringUtils; public class ValidUtils { private static final String mobile = "^(13|15|18|17|16)[... ...
分类:其他好文   时间:2017-12-27 14:17:24    阅读次数:183
JAVA StringUtils工具类
org.apache.commons.lang Class StringUtils Operations on String that are null safe. IsEmpty/IsBlank - checks if a String contains text Trim/Strip - rem ...
分类:编程语言   时间:2017-12-26 14:32:36    阅读次数:468
上传下载 demo
import org.apache.commons.io.IOUtils;import org.apache.commons.lang.StringUtils;import org.springframework.web.bind.annotation.GetMapping;import org.s ...
分类:Web程序   时间:2017-12-25 19:33:05    阅读次数:215
Java Calendar使用
``` import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; import org.apache.commons.la ...
分类:编程语言   时间:2017-12-21 11:59:04    阅读次数:173
java中读取配置文件的方法
转自:http://blog.csdn.net/stypace/article/details/38414871 一、使用org.apache.commons.configuration 需要使用的是jar包:commons-collections-3.2.1.jar、commons-configu ...
分类:编程语言   时间:2017-12-20 15:01:45    阅读次数:182
AES/ECB/NoPadding 加减密
1 package unit; 2 3 import javax.crypto.Cipher; 4 import javax.crypto.spec.SecretKeySpec; 5 6 import org.apache.commons.codec.binary.Base64; 7 8 /** 9... ...
分类:其他好文   时间:2017-12-13 15:07:38    阅读次数:302
Java中判断字符串是否为数字的方法
一、 二、org.apache.commons.lang org.apache.commons.lang.StringUtils; 三、try...catch 最笨的一种方式,通过比如Double.pareOf方法,然后抛出异常时判断为字符串。不推荐这种方式! 参考: https://www.cnb ...
分类:编程语言   时间:2017-12-13 02:03:36    阅读次数:184
【大数据系列】使用api修改hadoop的副本数和块大小
package com.slp.hdfs; import org.apache.commons.io.output.ByteArrayOutputStream; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop... ...
分类:Windows程序   时间:2017-12-12 21:08:44    阅读次数:317
json格式的一些常用操作方法
1 package com.liveyc.restfull.until; 2 3 import java.util.HashMap; 4 import java.util.Iterator; 5 import java.util.List; 6 7 import org.apache.commons... ...
分类:Web程序   时间:2017-12-12 17:41:28    阅读次数:225
检测某一目录下md5相同的文件
import org.apache.commons.codec.digest.DigestUtils; import org.apache.commons.io.IOUtils; import java.io.File; import java.io.FileInputStream; import ... ...
分类:其他好文   时间:2017-12-12 17:27:45    阅读次数:170
1065条   上一页 1 ... 35 36 37 38 39 ... 107 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!