Package | Description |
---|---|
org.jsoup |
Contains the main
Jsoup class, which provides convenient static access to the jsoup functionality. |
org.jsoup.helper | |
org.jsoup.parser |
Contains the HTML parser, tag specifications, and HTML tokeniser.
|
Modifier and Type | Method | Description |
---|---|---|
Parser |
Connection.Request.parser() |
Get the current parser to use when parsing the document.
|
Modifier and Type | Method | Description |
---|---|---|
static Document |
Jsoup.parse(InputStream in,
String charsetName,
String baseUri,
Parser parser) |
Read an input stream, and parse it to a Document.
|
static Document |
Jsoup.parse(String html,
String baseUri,
Parser parser) |
Parse HTML into a Document, using the provided Parser.
|
Connection |
Connection.parser(Parser parser) |
Provide an alternate parser to use when parsing the response to a Document.
|
Connection.Request |
Connection.Request.parser(Parser parser) |
Specify the parser to use when parsing the document.
|
Modifier and Type | Method | Description |
---|---|---|
Parser |
HttpConnection.Request.parser() |
Modifier and Type | Method | Description |
---|---|---|
static Document |
DataUtil.load(InputStream in,
String charsetName,
String baseUri,
Parser parser) |
Parses a Document from an input steam, using the provided Parser.
|
Connection |
HttpConnection.parser(Parser parser) |
|
HttpConnection.Request |
HttpConnection.Request.parser(Parser parser) |
Modifier and Type | Method | Description |
---|---|---|
static Parser |
Parser.htmlParser() |
Create a new HTML parser.
|
Parser |
Parser.settings(ParseSettings settings) |
|
Parser |
Parser.setTrackErrors(int maxErrors) |
Enable or disable parse error tracking for the next parse.
|
Parser |
Parser.setTreeBuilder(org.jsoup.parser.TreeBuilder treeBuilder) |
Update the TreeBuilder used when parsing content.
|
static Parser |
Parser.xmlParser() |
Create a new XML parser.
|
Copyright © 2009–2018 Jonathan Hedley. All rights reserved.