public class HtmlTreeBuilder extends java.lang.Object implements TreeBuilder
The default parsing engine is to use zsoup library.
Constructor and Description |
---|
HtmlTreeBuilder() |
Modifier and Type | Method and Description |
---|---|
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 |
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
Copyright © 2005-2018 Potix Corporation. All Rights Reserved.