Package thredds.catalog.parser.jdom

Examples of thredds.catalog.parser.jdom.InvCatalogFactory10.writeXML()


      {
        // Override default output catalog version. (kludge for IDV backward compatibility)
        InvCatalogFactory10 fac10 = (InvCatalogFactory10) this.catFactory.getCatalogConverter( XMLEntityResolver.CATALOG_NAMESPACE_10 );
        fac10.setVersion( this.catalog.getVersion() );
        BufferedOutputStream osCat = new BufferedOutputStream( new FileOutputStream( outFileName ) );
        fac10.writeXML( (InvCatalogImpl) catalog, osCat );
        osCat.close();
      }

      log.debug( "writeCatalog(): catalog written to " + outFileName + "." );
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.