Package org.apache.stanbol.ontologymanager.web.util

Examples of org.apache.stanbol.ontologymanager.web.util.OntologyStatsResource


        // ByteArrayOutputStream out = new ByteArrayOutputStream();
        // o.getOWLOntologyManager().saveOntology(o, new ManchesterOWLSyntaxOntologyFormat(), out);
        return Response.ok(new Viewable("ontology",
                // new OntologyPrettyPrintResource(servletContext,
                // uriInfo, out)
                new OntologyStatsResource(servletContext, uriInfo, key, o, ontologyProvider.listAliases(key),
                handles)));
        // } catch (OWLOntologyStorageException e) {
        // throw new WebApplicationException(e, INTERNAL_SERVER_ERROR);
        // }
    }
View Full Code Here

TOP

Related Classes of org.apache.stanbol.ontologymanager.web.util.OntologyStatsResource

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.