(byte[] input)
| 45 | private Utils() {} |
| 46 | |
| 47 | static Element getRootElement(byte[] input) { |
| 48 | W3CDom w3cDom = new W3CDom(); |
| 49 | Document doc = w3cDom.fromJsoup(Jsoup.parse(new String(input, StandardCharsets.UTF_8))); |
| 50 | return doc.getDocumentElement(); |
| 51 | } |
| 52 | |
| 53 | static <T> Stream<String> htmlWrite(ByteArrayOutputStream mem){ |
| 54 | InputStreamReader actual = new InputStreamReader(new ByteArrayInputStream(mem.toByteArray())); |
no outgoing calls
no test coverage detected