Package org.zkoss.zhtml.impl
Class HtmlTreeBuilder
java.lang.Object
org.zkoss.zhtml.impl.HtmlTreeBuilder
- All Implemented Interfaces:
TreeBuilder
A HTML tree builder for parsing a content of a page into a idom tree.
The default parsing engine is to use zsoup library.
- Since:
- 8.0.0
- Author:
- jumperchen
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
HtmlTreeBuilder
public HtmlTreeBuilder()
-
-
Method Details
-
parse
Description copied from interface:TreeBuilderParse the content of a file to aDocument- Specified by:
parsein interfaceTreeBuilder- Throws:
Exception
-
parse
Description copied from interface:TreeBuilderParse the content from a URL to aDocument- Specified by:
parsein interfaceTreeBuilder- Throws:
Exception
-
parse
Description copied from interface:TreeBuilderParse the content from a Reader to aDocument- Specified by:
parsein interfaceTreeBuilder- Throws:
Exception
-