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, null
for default encoding.ch
- Content handler receiving the SAX events. The content handler might also
implement the lexical handler interface.SAXException
Document parse(String systemId, InputStream stream, String encoding) throws IOException
The
- system idstream
- The input streamencoding
- Encoding of the input stream, null
for default encoding.IOException
"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"