Uses of Class
org.jsoup.parser.Parser
Packages that use Parser
Package
Description
Contains the main
Jsoup class, which provides convenient static access to the jsoup functionality.
Package containing classes supporting the core jsoup code.
HTML document structure nodes.
Contains the HTML parser, tag specifications, and HTML tokeniser.
-
Uses of Parser in org.jsoup
Modifier and TypeMethodDescriptionConnection.Request.parser()Get the current parser to use when parsing the document.Modifier and TypeMethodDescriptionstatic DocumentParse the contents of a file as HTML.static DocumentJsoup.parse(InputStream in, @Nullable String charsetName, String baseUri, Parser parser) Read an input stream, and parse it to a Document.static DocumentParse HTML into a Document, using the provided Parser.static DocumentParse HTML into a Document, using the provided Parser.static DocumentParse the contents of a file as HTML.Provide a specific parser to use when parsing the response to a Document.Specify the parser to use when parsing the document. -
Uses of Parser in org.jsoup.helper
Methods in org.jsoup.helper that return ParserMethods in org.jsoup.helper with parameters of type ParserModifier and TypeMethodDescriptionstatic DocumentLoads and parses a file to a Document.static DocumentDataUtil.load(InputStream in, @Nullable String charsetName, String baseUri, Parser parser) Parses a Document from an input steam, using the provided Parser.static DocumentLoads and parses a file to a Document.static StreamParserDataUtil.streamParser(Path path, @Nullable Charset charset, String baseUri, Parser parser) Returns aStreamParserthat will parse the supplied file progressively. -
Uses of Parser in org.jsoup.nodes
Methods in org.jsoup.nodes that return ParserModifier and TypeMethodDescriptionDocument.parser()Get the parser that was used to parse this document.Methods in org.jsoup.nodes with parameters of type Parser -
Uses of Parser in org.jsoup.parser
Fields in org.jsoup.parser declared as ParserModifier and TypeFieldDescriptionprotected ParserTreeBuilder.parserprotected ParserTreeBuilder.parserMethods in org.jsoup.parser that return ParserModifier and TypeMethodDescriptionParser.clone()static ParserParser.htmlParser()Create a new HTML parser.Parser.newInstance()Creates a new Parser as a deep copy of this; including initializing a new TreeBuilder.Parser.settings(ParseSettings settings) Update the ParseSettings of this Parser, to control the case sensitivity of tags and attributes.Parser.setTrackErrors(int maxErrors) Enable or disable parse error tracking for the next parse.Parser.setTrackPosition(boolean trackPosition) Enable or disable source position tracking.Set a custom TagSet to use for this Parser.static ParserParser.xmlParser()Create a new XML parser.Methods in org.jsoup.parser with parameters of type ParserModifier and TypeMethodDescriptionprotected voidHtmlTreeBuilder.initialiseParse(Reader input, String baseUri, Parser parser) protected voidXmlTreeBuilder.initialiseParse(Reader input, String baseUri, Parser parser) Constructors in org.jsoup.parser with parameters of type ParserModifierConstructorDescriptionStreamParser(Parser parser) Construct a new StreamParser, using the supplied base Parser.