public class ParseXmlUtil extends Object
| 构造器和说明 |
|---|
ParseXmlUtil() |
| 限定符和类型 | 方法和说明 |
|---|---|
static Map<String,String> |
doXMLParse(String strxml)
解析xml,返回第一级元素键值对。
|
static String |
getChildrenText(List children)
获取子结点的xml
|
static InputStream |
String2Inputstream(String str) |
public static Map<String,String> doXMLParse(String strxml) throws Exception
strxml - org.jdom.JDOMExceptionIOExceptionExceptionpublic static String getChildrenText(List children)
children - public static InputStream String2Inputstream(String str)
Copyright © 2018. All rights reserved.