Apache Commons
Commons lang3
1.StringUtils
StringUtils.isBlank("");
StringUtils.isEmpty("");
StringUtils.trimToEmpty(null);
...
2.ArrayUtils
ArrayUtils.toString(*);
ArrayUtils.nullToEmpty(*);
ArrayUtils.reverse(*);
ArrayUtils.contains(*);
ArrayUtils.lastIndexOf(*);
3.DateUtils
DateUtils.addDays(*);
DateUtils.isSameDay(*);
4.NumberUtils
NumberUtils.isNumber("0x12");
NumberUtils.max(*);
5.RandomStringUtils
RandomStringUtils.random(64,"abcdefg");
Commons beanutils
BeanUtils
1.BeanUtils.copyProperties(dest,src);
2.Map map = BeanUtils.describe(bean);
Commons Codec
String md5 = DigestUtils.md5Hex("lala");
String sha = DigestUtils.sha512Hex("kaka");
Base64.encodeBase64(*);
Commons IO
List lines = FileUtils.readLines(file, "UTF-8");
long freeSpace = FileSystemUtils.freeSpace("C:/");