org.zkoss.zhtml.impl
Class HtmlTreeBuilder
java.lang.Object
org.zkoss.zhtml.impl.HtmlTreeBuilder
- All Implemented Interfaces:
- org.zkoss.zk.ui.metainfo.TreeBuilder
public class HtmlTreeBuilder
- extends Object
- implements org.zkoss.zk.ui.metainfo.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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HtmlTreeBuilder
public HtmlTreeBuilder()
parse
public org.zkoss.idom.Document parse(File file)
throws Exception
- Specified by:
parse
in interface org.zkoss.zk.ui.metainfo.TreeBuilder
- Throws:
Exception
parse
public org.zkoss.idom.Document parse(URL url)
throws Exception
- Specified by:
parse
in interface org.zkoss.zk.ui.metainfo.TreeBuilder
- Throws:
Exception
parse
public org.zkoss.idom.Document parse(Reader reader)
throws Exception
- Specified by:
parse
in interface org.zkoss.zk.ui.metainfo.TreeBuilder
- Throws:
Exception
Copyright © 2015. All Rights Reserved.