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
TreeBuilderDocumentparse in interface TreeBuilderjava.lang.Exceptionpublic Document parse(java.net.URL url) throws java.lang.Exception
TreeBuilderDocumentparse in interface TreeBuilderjava.lang.Exceptionpublic Document parse(java.io.Reader reader) throws java.lang.Exception
TreeBuilderDocumentparse in interface TreeBuilderjava.lang.ExceptionCopyright © 2005-2024 Potix Corporation. All Rights Reserved.