public interface HtmlParser
| Modifier and Type | Method and Description |
|---|---|
void |
parse(InputStream stream,
String encoding,
ContentHandler ch)
Parse html and send sax events.
|
Document |
parse(String systemId,
InputStream stream,
String encoding)
Parse html and return a DOM Document.
|
void parse(InputStream stream, String encoding, ContentHandler ch) throws SAXException
stream - The input streamencoding - Encoding of the input stream, nullfor default encoding.ch - Content handler receiving the SAX events. The content handler might also
implement the lexical handler interface.SAXExceptionDocument parse(String systemId, InputStream stream, String encoding) throws IOException
The - system idstream - The input streamencoding - Encoding of the input stream, nullfor default encoding.IOException"Copyright © 2010 - 2017 Adobe Systems Incorporated. All Rights Reserved"