摘要: public class DOM4JReader { public static void main(String[] args) throws DocumentException { //读取文件的位置 File file=new File("D:"+File.separator+"ou.xml" 阅读全文
posted @ 2017-01-13 01:41 耳朵像图图 阅读(257) 评论(0) 推荐(0) 编辑
摘要: 首先要导入jdom的jar包 //写xml public class WriteXML { public static void main(String[] args) throws FileNotFoundException, IOException { Element addressList=n 阅读全文
posted @ 2017-01-13 01:40 耳朵像图图 阅读(246) 评论(0) 推荐(0) 编辑