public static Document readDocument ( File file ) throws SAXException , IOException { InputStream in = new FileInputStream ( file ) ; Document result = readDocument ( in ) ; in . close ( ) ; return result ; }
Static API follows