public static Document load(InputStream in, String charsetName, String baseUri) throws IOException {
        return parseInputStream(in, charsetName, baseUri, Parser.htmlParser());
    }
public static Document load ( InputStream in , String charsetName , String baseUri ) throws IOException { return parseInputStream ( in , charsetName , baseUri , Parser . htmlParser ( ) ) ; }
Parses a Document from an input steam.
@param in input stream to parse. You will need to close it.
@param charsetName character set of input
@param baseUri base URI of document, to resolve relative links against
@return Document
@throws IOException on IO error