- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for parsers (0.06 sec)
-
FessPropTest.java
private boolean matchesTag(final PrunedTag tag, final String text) throws Exception { L193: final DOMParser parser = new DOMParser(); L194: final String html = "<html><body>" + text + "</body></html>"; L195: final ByteArrayInputStream is = new ByteArrayInputStream(html.getBytes("UTF-8")); L196: parser.parse(new InputSource(is)); L197: Node node = parser.getDocument().getFirstChild().getLastChild().getFirstChild(); L198: return tag.matches(node); L199: } L200:...github.com/codelibs/fess/src/test/java/org/code...Thu Feb 22 01:37:57 UTC 2024 12.7K bytes