DocumentHelper 解析XML文件

系统对接 外部交换平台 使用XML形式 拼接比较费时繁琐。

DocumentHelper 工具类。

Document doc = null;
    String xxx = SendNC.readToString("test.xml");
    String xml = xxx.substring(xxx.indexOf("

你可能感兴趣的:(java基础)