-
String path = this.getClass().getClassLoader().getResource("../" + fileName).getPath();
-
String websiteURL = path.replace("%20", " ").replaceFirst("/", "");
-
in = new BufferedInputStream(new FileInputStream(websiteURL));
-
props.load(in);
http://blog.csdn.net/salerzhang/article/details/41311189
blog.csdn.net/beagreatprogrammer/article/details/50234635
阅读(796) | 评论(0) | 转发(0) |