public static Document load ( File in , String charsetName , String baseUri ) throws IOException { return parseInputStream ( new FileInputStream ( in ) , charsetName , baseUri , Parser . htmlParser ( ) ) ; }
Loads a file to a Document .