MCPcopy Create free account
hub / github.com/defineYIDA/LWebServer / getDocument

Method getDocument

src/main/java/cn/lws/server/util/XMLUtil.java:12–20  ·  view source on GitHub ↗
(String xmlURL)

Source from the content-addressed store, hash-verified

10public class XMLUtil {
11
12 public static Document getDocument(String xmlURL) {
13 try {
14 SAXReader reader = new SAXReader();
15 return reader.read(xmlURL);
16 } catch (DocumentException e) {
17 e.printStackTrace();
18 }
19 return null;
20 }
21}

Callers 1

initMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected