Package org.semanticweb.binaryowl.owlapi

Examples of org.semanticweb.binaryowl.owlapi.OWLOntologyWrapper


                BinaryOWLMetadata metadata = toBinaryOWLMetadata(value);
                BinaryOWLOntologyDocumentSerializer serializer = new BinaryOWLOntologyDocumentSerializer();
                final File file = getFreshImportCacheFile();
                os = new DataOutputStream(new BufferedOutputStream(new FileOutputStream(file)));
                serializer.write(new OWLOntologyWrapper(ont), os, metadata);

                ontologyIDs.add(ont.getOntologyID());
                metadataMap.put(ont.getOntologyID(), value);
                LOGGER.info("Cached imported ontology: " + ont.getOntologyID() + " in " + file.getName());
            }
View Full Code Here

TOP

Related Classes of org.semanticweb.binaryowl.owlapi.OWLOntologyWrapper

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.