src/main/java/org/jboss/util/xml/catalog/readers/DOMCatalogReader.java
public void readCatalog(Catalog catalog, String fileUrl)
    throws MalformedURLException, IOException, CatalogException {
    URL url = new URL(fileUrl);
    URLConnection urlCon = url.openConnection();
    readCatalog(catalog, urlCon.getInputStream());
  }
public void readCatalog(Catalog catalog, String fileUrl)
    throws MalformedURLException, IOException, CatalogException {
    URL url = new URL(fileUrl);
    URLConnection urlCon = url.openConnection();
    readCatalog(catalog, urlCon.getInputStream());
  }
public void readCatalog ( Catalog catalog , String fileUrl ) throws MalformedURLException , IOException , CatalogException { URL url = new URL ( fileUrl ) ; URLConnection urlCon = url . openConnection ( ) ; readCatalog ( catalog , urlCon . getInputStream ( ) ) ; }
Read the catalog behind the specified URL.

@see #readCatalog(Catalog, InputStream)

@param catalog The catalog for which we are reading.
@param fileUrl The URL of the document that should be read.

@throws MalformedURLException if the specified URL cannot be
turned into a URL object.
@throws IOException if the URL cannot be read.
Read the catalog behind the specified URL .