标签:
1.获取resouces中文件的绝对路径
String filePath = XXX.class.getClassLoader().getResource("/configs/interface/..").getPath(); File file = new File(filePath);
java utils
原文地址:http://www.cnblogs.com/Gyoung/p/5412107.html