Commons Daemon procrun stdout initialized
摘要:参考 https://blog.csdn.net/qq_19865749/article/details/69664979 jvm路径错误
阅读全文
jackson 字符串转对象
摘要:ObjectMapper mapper = new ObjectMapper(); Map<String, Object> map = mapper.readValue(str, Map.class);
阅读全文
getRequestURI getRequestURL 区别
摘要:参考 https://blog.csdn.net/gavid0124/article/details/45390999/ request.getRequestURL() 返回全路径 request.getRequestURI() 返回除去host(域名或者ip)部分的路径 request.getCo
阅读全文
以字符串形式获取excel单元格中的内容
摘要:public static String getCellValue(XSSFCell cell) { if (cell == null) { return ""; } switch (cell.getCellType()) { case Cell.CELL_TYPE_STRING: ...
阅读全文
javaService
摘要:JavaService.exe -install TestService "%JAVA_HOME%\jre\bin\server\jvm.dll" -Djava.class.path="%CD%\landi_interface.jar;%JAVA_HOME%\lib\tools.jar" -Xms1
阅读全文
poi excel 加粗
摘要:参考 https://blog.csdn.net/wellto/article/details/52293202XSSFWorkbook xwb = new XSSFWorkbook(); ... XSSFCell cell... XSSFFont font1 = xwb.createFont();
阅读全文
格式化java8 LocalDateTime
摘要:DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss", Locale.CHINA).format(time1);
阅读全文
java AES 对称加密解密
摘要:package com.xx.ws.util; import javax.crypto.Cipher; import javax.crypto.spec.IvParameterSpec; import javax.crypto.spec.SecretKeySpec; import javax.xml.bind.DatatypeConverter; public class AESOperat...
阅读全文
java rsa 加解密
摘要:参考 http://blog.csdn.net/a394268045/article/details/52232120
阅读全文