(byte[] input)
| 52 | private Utils() {} |
| 53 | |
| 54 | static Element getRootElement(byte[] input) { |
| 55 | W3CDom w3cDom = new W3CDom(); |
| 56 | Document doc = w3cDom.fromJsoup(Jsoup.parse(new String(input, StandardCharsets.UTF_8))); |
| 57 | return doc.getDocumentElement(); |
| 58 | } |
| 59 | |
| 60 | static <T> Stream<String> htmlWrite(ByteArrayOutputStream mem){ |
| 61 | InputStreamReader actual = new InputStreamReader(new ByteArrayInputStream(mem.toByteArray())); |
no outgoing calls
no test coverage detected