Class HTMLParser
java.lang.Object
com.nomagic.magicreport.format.html.HTMLParser
A HTML parser to load an HTML document with an HTML element structure. The parser builds up tokens (Element)
that describe the element subtree desired, and notify to the handler.
- Since:
- May 21, 2009
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidparse(Reader reader, IHTMLHandler handle) Parse the content of the reader specified as HTML using the specifiedIHTMLHandler.
-
Constructor Details
-
HTMLParser
public HTMLParser()Create HTMLReader.
-
-
Method Details
-
parse
Parse the content of the reader specified as HTML using the specifiedIHTMLHandler.- Parameters:
reader- the reader containing HTML source.handle- the HTML handler to be used.- Throws:
IOException- If any IO errors occur.
-