Created by zl on 2019/03/01.
| 8 | * Created by zl on 2019/03/01. |
| 9 | */ |
| 10 | public 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 | } |
nothing calls this directly
no outgoing calls
no test coverage detected