Uses of Class
org.jsoup.parser.Parser
| Package | Description |
|---|---|
| org.jsoup |
Contains the main
Jsoup class, which provides convenient static access to the jsoup functionality. |
| org.jsoup.helper |
Package containing classes supporting the core jsoup code.
|
| org.jsoup.nodes |
HTML document structure nodes.
|
| org.jsoup.parser |
Contains the HTML parser, tag specifications, and HTML tokeniser.
|
-
Uses of Parser in org.jsoup
Methods in org.jsoup that return Parser Modifier and Type Method Description ParserConnection.Request. parser()Get the current parser to use when parsing the document.Methods in org.jsoup with parameters of type Parser Modifier and Type Method Description static DocumentJsoup. parse(File file, String charsetName, String baseUri, Parser parser)Parse the contents of a file as HTML.static DocumentJsoup. parse(InputStream in, String charsetName, String baseUri, Parser parser)Read an input stream, and parse it to a Document.static DocumentJsoup. parse(String html, String baseUri, Parser parser)Parse HTML into a Document, using the provided Parser.ConnectionConnection. parser(Parser parser)Provide an alternate parser to use when parsing the response to a Document.Connection.RequestConnection.Request. parser(Parser parser)Specify the parser to use when parsing the document. -
Uses of Parser in org.jsoup.helper
Methods in org.jsoup.helper that return Parser Modifier and Type Method Description ParserHttpConnection.Request. parser()Methods in org.jsoup.helper with parameters of type Parser Modifier and Type Method Description static DocumentDataUtil. load(File file, String charsetName, String baseUri, Parser parser)Loads and parses a file to a Document.static DocumentDataUtil. load(InputStream in, String charsetName, String baseUri, Parser parser)Parses a Document from an input steam, using the provided Parser.ConnectionHttpConnection. parser(Parser parser)HttpConnection.RequestHttpConnection.Request. parser(Parser parser) -
Uses of Parser in org.jsoup.nodes
Methods in org.jsoup.nodes that return Parser Modifier and Type Method Description ParserDocument. parser()Get the parser that was used to parse this document.Methods in org.jsoup.nodes with parameters of type Parser Modifier and Type Method Description DocumentDocument. parser(Parser parser)Set the parser used to create this document. -
Uses of Parser in org.jsoup.parser
Fields in org.jsoup.parser declared as Parser Modifier and Type Field Description protected ParserTreeBuilder. parserprotected ParserTreeBuilder. parserMethods in org.jsoup.parser that return Parser Modifier and Type Method Description static ParserParser. htmlParser()Create a new HTML parser.ParserParser. newInstance()Creates a new Parser as a deep copy of this; including initializing a new TreeBuilder.ParserParser. settings(ParseSettings settings)ParserParser. setTrackErrors(int maxErrors)Enable or disable parse error tracking for the next parse.ParserParser. setTreeBuilder(org.jsoup.parser.TreeBuilder treeBuilder)Update the TreeBuilder used when parsing content.static ParserParser. xmlParser()Create a new XML parser.Methods in org.jsoup.parser with parameters of type Parser Modifier and Type Method Description protected voidHtmlTreeBuilder. initialiseParse(Reader input, String baseUri, Parser parser)protected voidXmlTreeBuilder. initialiseParse(Reader input, String baseUri, Parser parser)