* @return the newly created incremental classifier
* @throws IOException if an error should occur during the reading
* @throws OWLReasonerException
*/
public static IncrementalClassifier load( InputStream inputStream, OWLOntology loadedOntology ) throws IOException {
ModuleExtractor extractor = null;
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 ) );