Uses of Class
org.jsoup.internal.ControllableInputStream
Packages that use ControllableInputStream
Package
Description
Package containing classes supporting the core jsoup code.
Util methods used by Jsoup.
-
Uses of ControllableInputStream in org.jsoup.helper
Fields in org.jsoup.helper declared as ControllableInputStreamModifier and TypeFieldDescriptionprivate ControllableInputStreamHttpConnection.Response.bodyStreamMethods in org.jsoup.helper that return ControllableInputStreamModifier and TypeMethodDescriptionprivate static ControllableInputStreamDataUtil.openStream(Path path) Open an input stream from a file; if it's a gzip file, returns a GZIPInputStream to unzip it.private ControllableInputStreamHttpConnection.Response.prepareParse()Called from parse() or streamParser(), validates and prepares the input stream, and aligns common settings.Methods in org.jsoup.helper with parameters of type ControllableInputStreamModifier and TypeMethodDescription(package private) static DataUtil.CharsetDocDataUtil.detectCharset(ControllableInputStream input, String charsetName, String baseUri, Parser parser) Detects charset for a regular parse, and may reuse a fully sniffed document.private static DataUtil.CharsetDocDataUtil.detectCharset(ControllableInputStream input, String charsetName, String baseUri, Parser parser, boolean reuseDocIfFullyRead) Shared charset detection worker; regular parse can reuse a fully sniffed doc, stream parse cannot.(package private) static DataUtil.CharsetDocDataUtil.detectCharsetForStreamParser(ControllableInputStream input, String charsetName, String baseUri, Parser parser) Detects charset for a stream parse, and leaves the input readable for subsequent parsing.private static StringDataUtil.detectCharsetFromBom(ControllableInputStream input) (package private) static DocumentDataUtil.parseInputStream(ControllableInputStream input, String charsetName, String baseUri, Parser parser) -
Uses of ControllableInputStream in org.jsoup.internal
Methods in org.jsoup.internal that return ControllableInputStreamModifier and TypeMethodDescription<ProgressContext>
ControllableInputStreamControllableInputStream.onProgress(int contentLength, Progress<ProgressContext> callback, ProgressContext context) ControllableInputStream.timeout(long startTimeNanos, long timeoutMillis) static ControllableInputStreamControllableInputStream.wrap(InputStream in, int maxSize) If this InputStream is not already a ControllableInputStream, let it be one.static ControllableInputStreamControllableInputStream.wrap(InputStream in, int bufferSize, int maxSize) If this InputStream is not already a ControllableInputStream, let it be one.