Package org.apache.stanbol.ontologymanager.ontonet.api.session

Examples of org.apache.stanbol.ontologymanager.ontonet.api.session.Session.listManagedOntologies()


             * The session needs to be destroyed anyhow.
             *
             * Clear contents before destroying (FIXME only do this until this is implemented in the
             * destroySession() method).
             */
            for (IRI iri : session.listManagedOntologies()) {
                try {
                    String key = ontologyProvider.getKey(iri);
                    ontologyProvider.getStore().deleteTripleCollection(new UriRef(key));
                } catch (Exception ex) {
                    log.error("Failed to delete triple collection " + iri, ex);
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.