Package com.clarkparsia.modularity

Examples of com.clarkparsia.modularity.ModuleExtractor.load()


    Taxonomy<OWLClass> taxonomy = null;
   
    ZipInputStream zipInputStream = new ZipInputStream( inputStream );
   
    extractor = ModuleExtractorFactory.createModuleExtractor();
    extractor.load( zipInputStream );
   
    ZipEntry currentEntry = zipInputStream.getNextEntry();
   
    if( !( TAXONOMY_FILE_NAME.equals( currentEntry.getName() ) ) ) {
      throw new IOException ( String.format( "Unexpected entry (%s) in ZipInputStream. Expected %s", currentEntry.getName(), TAXONOMY_FILE_NAME ) );
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.