摘要: public class TestDriver { public static void main(String[] args) throws IOException { File file = new File("e:\\test.config"); //模拟load()方法将指定流中的属性列表加载到properties中,指定文件必须是键值对形式 Properties ps = new Properties(); BufferedReader bufR = new BufferedReader(new FileReader(file)); String bufStr = 阅读全文
posted @ 2014-03-09 21:11 lxricecream 阅读(292) 评论(0) 推荐(0)