private Document readManifest ( File manifestFile ) throws IOException , ParserConfigurationException , SAXException { DocumentBuilderFactory dbf = DocumentBuilderFactory . newInstance ( ) ; DocumentBuilder db = dbf . newDocumentBuilder ( ) ; Document doc = db . parse ( manifestFile ) ; return doc ; }
Read manifest using JAXP