public static Pair < InMemoryJarfile , String > loadAndUpgradeCatalogFromJar ( byte [ ] catalogBytes , boolean isXDCR ) throws IOException { // Throws IOException on load failure. InMemoryJarfile jarfile = loadInMemoryJarFile ( catalogBytes ) ; return loadAndUpgradeCatalogFromJar ( jarfile , isXDCR ) ; }
Load a catalog from the jar bytes .