public interface IHtmlParser
| Modifier and Type | Method and Description |
|---|---|
IDocumentNode |
parse(InputStream htmlStream, String charset)
Parses HTML provided as an InputStream and an encoding.
|
IDocumentNode |
parse(String html)
Parses HTML provided as a String.
|
IDocumentNode parse(InputStream htmlStream, String charset) throws IOException
InputStream and an encoding.
htmlStream - the html stream
charset - the character set
IOException - Signals that an I/O exception has occurred.
IDocumentNode parse(String html)
String.
html - the html string
Copyright © 1998–2019 iText Group NV. All rights reserved.