Package com.clarkparsia.modularity.io

Examples of com.clarkparsia.modularity.io.UncloseableOutputStream


   
    // first save the axioms
    ZipEntry axiomsEntry = new ZipEntry( MODULE_EXTRACTOR_AXIOMS_FILE_NAME );
    outputStream.putNextEntry( axiomsEntry );
   
    ModuleExtractorPersistence.saveAxioms( axiomEntities.keySet(), new UncloseableOutputStream( outputStream ) );
   
    // next save the modules   
    ZipEntry modulesEntry = new ZipEntry( MODULE_EXTRACTOR_MODULES_FILE_NAME );
    outputStream.putNextEntry( modulesEntry );
   
    ModuleExtractorPersistence.saveModules( modules, new UncloseableOutputStream( outputStream ) );
   
    outputStream.flush();
  }
View Full Code Here

TOP

Related Classes of com.clarkparsia.modularity.io.UncloseableOutputStream

Copyright © 2018 www.massapicom. 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.