
XML
andli0726
这个作者很懒,什么都没留下…
展开
-
Pull解析
1.首先在SD卡上新建一个测试文件夹// 获取保存路径 public File getFilePath() { File filePath = null; //判断SD卡存在与否 if (Environment.getExternalStorageState().equals(Environment.MEDIA_MOUNTED)) { filePath = new...2011-09-28 08:01:01 · 106 阅读 · 0 评论 -
SAX解析
=============================Main.javapublic class Main extends Activity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { ...原创 2011-09-28 08:02:55 · 80 阅读 · 0 评论 -
DOM4J
public class DOM_Person { public static List<Person> getPersons(InputStream inStream) throws Throwable { List<Person> persons = new ArrayList<Person>(); /* 实例化一个文档构建器工厂...原创 2011-10-09 11:12:53 · 80 阅读 · 0 评论 -
DOM解析
DOM解析方法:public class DOM_Person { public static List<Person> getPersons(InputStream inStream) throws Throwable { List<Person> persons = new ArrayList<Person>(); /* 实例...原创 2011-10-09 11:19:38 · 69 阅读 · 0 评论 -
XML几种解析方法的时间对比
[img]http://dl.iteye.com/upload/attachment/0063/1997/bca2e84f-ee3d-3ba9-ad4b-6cb7c928b171.jpg[/img][img]http://dl.iteye.com/upload/attachment/0063/1999/1b68764e-b4f5-348f-8d74-2bdbeaaa0ec7.jpg[/im...原创 2012-02-14 21:40:09 · 446 阅读 · 0 评论