public class JsoupHtmlParser extends Object implements IXmlParser
| Constructor and Description |
|---|
JsoupHtmlParser() |
| Modifier and Type | Method and Description |
|---|---|
IDocumentNode |
parse(InputStream htmlStream,
String charset)
Parses XML provided as an
InputStream and an encoding. |
IDocumentNode |
parse(String html)
Parses XML provided as a
String. |
public IDocumentNode parse(InputStream htmlStream, String charset) throws IOException
IXmlParserInputStream and an encoding.parse in interface IXmlParserhtmlStream - the Xml streamcharset - the character set. If null then parser should detect encoding from stream.IOException - Signals that an I/O exception has occurred.public IDocumentNode parse(String html)
IXmlParserString.parse in interface IXmlParserhtml - the Xml stringCopyright © 1998–2025 Apryse Group NV. All rights reserved.