- 博客(2)
- 收藏
- 关注
原创 获取项目路径
几种方式:建议使用第二种 1.String path = Thread.currentThread().getContextClassLoader() .getResource("").getPath().replace("WEB-INF/classes", "resources"); 2.String path=this.getClass().getResource("").getPath
2018-02-05 10:10:29 110
原创 日期转String
String date = DateFormatUtils.format(new Date(XXX), "dd-MMM-yyyy", Locale.ENGLISH); //格式问题
2018-02-05 09:40:59 309
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人