< prev index next >

src/java.xml/share/classes/javax/xml/catalog/CatalogManager.java

Print this page

        

*** 60,70 **** * * @return an instance of a {@code Catalog} * @throws CatalogException If an error occurs while parsing the catalog */ public static Catalog catalog(CatalogFeatures features, String... paths) { ! return new CatalogImpl(features, paths); } /** * Creates an instance of a {@code CatalogResolver} using the specified catalog. * --- 60,72 ---- * * @return an instance of a {@code Catalog} * @throws CatalogException If an error occurs while parsing the catalog */ public static Catalog catalog(CatalogFeatures features, String... paths) { ! CatalogImpl catalog = new CatalogImpl(features, paths); ! catalog.load(); ! return catalog; } /** * Creates an instance of a {@code CatalogResolver} using the specified catalog. *
< prev index next >