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