Package dev.enola.common.html
Class HTML
java.lang.Object
dev.enola.common.html.HTML
HTML utilities.
Note that HTML to Thing conversion is done by TikaThingConverter, not here.
-
Method Summary
Modifier and TypeMethodDescriptionstatic Stringcanonicalize(ReadableResource html, Charset outCharset, boolean format) static org.jsoup.nodes.Documentread(ReadableResource html)
-
Method Details
-
canonicalize
public static String canonicalize(ReadableResource html, Charset outCharset, boolean format) throws IOException - Throws:
IOException
-
read
- Throws:
IOException
-