/* */ throws IOException, CatalogException
/* */ {
/* 646 */ this.default_override = this.catalogManager.getPreferPublic();
/* 647 */ this.catalogManager.debug.message(4, "Parse " + mimeType + " catalog on input stream");
/* */
/* 649 */ CatalogReader reader = null;
/* */
/* 651 */ if (this.readerMap.containsKey(mimeType)) {
/* 652 */ int arrayPos = ((Integer)this.readerMap.get(mimeType)).intValue();
/* 653 */ reader = (CatalogReader)this.readerArr.get(arrayPos);
/* */ }
/* */
/* 656 */ if (reader == null) {
/* 657 */ String msg = "No CatalogReader for MIME type: " + mimeType;
/* 658 */ this.catalogManager.debug.message(2, msg);
/* 659 */ throw new CatalogException(6, msg);
/* */ }
/* */
/* 662 */ reader.readCatalog(this, is);
/* */
/* 665 */ parsePendingCatalogs();
/* */ }