|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.zkoss.zhtml.impl.HtmlTreeBuilder
public class HtmlTreeBuilder
A HTML tree builder for parsing a content of a page into a idom tree.
The default parsing engine is to use zsoup library.
Constructor Summary | |
---|---|
HtmlTreeBuilder()
|
Method Summary | |
---|---|
Document |
parse(java.io.File file)
Parse the content of a file to a Document |
Document |
parse(java.io.Reader reader)
Parse the content from a Reader to a Document |
Document |
parse(java.net.URL url)
Parse the content from a URL to a Document |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HtmlTreeBuilder()
Method Detail |
---|
public Document parse(java.io.File file) throws java.lang.Exception
TreeBuilder
Document
parse
in interface TreeBuilder
java.lang.Exception
public Document parse(java.net.URL url) throws java.lang.Exception
TreeBuilder
Document
parse
in interface TreeBuilder
java.lang.Exception
public Document parse(java.io.Reader reader) throws java.lang.Exception
TreeBuilder
Document
parse
in interface TreeBuilder
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |