private static Document getDocument ( String pathManifest ) throws SAXException , IOException , ParserConfigurationException { InputStream inputStream = ManifestUtil . class . getClassLoader ( ) . getResourceAsStream ( pathManifest ) ; return DocumentBuilderFactory . newInstance ( ) . newDocumentBuilder ( ) . parse ( inputStream ) ; }
Create the documento .