src/main/java/org/jboss/util/xml/catalog/Catalog.java
public synchronized void parseCatalog(String fileName)
    throws MalformedURLException, IOException {

    default_override = catalogManager.getPreferPublic();
    catalogManager.debug.message(4, "Parse catalog: " + fileName);

    // Put the file into the list of catalogs to process...
    // In all cases except the case when initCatalog() is the
    // caller, this will be the only catalog initially in the list...
    catalogFiles.addElement(fileName);

    // Now process all the pending catalogs...
    parsePendingCatalogs();
  }
public synchronized void parseCatalog(String fileName)
    throws MalformedURLException, IOException {

    default_override = catalogManager.getPreferPublic();
    catalogManager.debug.message(4, "Parse catalog: " + fileName);

    // Put the file into the list of catalogs to process...
    // In all cases except the case when initCatalog() is the
    // caller, this will be the only catalog initially in the list...
    catalogFiles.addElement(fileName);

    // Now process all the pending catalogs...
    parsePendingCatalogs();
  }
public synchronized void parseCatalog ( String fileName ) throws MalformedURLException , IOException { default_override = catalogManager . getPreferPublic ( ) ; catalogManager . debug . message ( 4 , "Parse catalog: " + fileName ) ; // Put the file into the list of catalogs to process... // In all cases except the case when initCatalog() is the // caller, this will be the only catalog initially in the list... catalogFiles . addElement ( fileName ) ; // Now process all the pending catalogs... parsePendingCatalogs ( ) ; }
Parse a catalog file, augmenting internal data structures.

@param fileName The filename of the catalog file to process

@throws MalformedURLException The fileName cannot be turned into
a valid URL.
@throws IOException Error reading catalog file.
Parse a catalog file augmenting internal data structures .