/* */ throws IOException, CatalogException
/* */ {
/* 623 */ this.default_override = this.catalogManager.getPreferPublic();
/* 624 */ this.catalogManager.debug.message(4, "Parse " + mimeType + " catalog on input stream");
/* */
/* 626 */ CatalogReader reader = null;
/* */
/* 628 */ if (this.readerMap.containsKey(mimeType)) {
/* 629 */ int arrayPos = ((Integer)this.readerMap.get(mimeType)).intValue();
/* 630 */ reader = (CatalogReader)this.readerArr.get(arrayPos);
/* */ }
/* */
/* 633 */ if (reader == null) {
/* 634 */ String msg = "No CatalogReader for MIME type: " + mimeType;
/* 635 */ this.catalogManager.debug.message(2, msg);
/* 636 */ throw new CatalogException(6, msg);
/* */ }
/* */
/* 639 */ reader.readCatalog(this, is);
/* */
/* 642 */ parsePendingCatalogs();
/* */ }