摘要: 1. 方法一: // 获取当前jar包所在路径 String path = ConfigTool.class.getProtectionDomain().getCodeSource().getLocation().toString(); int begin = path.indexOf(":")... 阅读全文
posted @ 2015-04-20 09:08 Jtianlin 阅读(197) 评论(0) 推荐(0) 编辑