rb.entity(new Viewable("/imports/409", this));
rb.header(HttpHeaders.CONTENT_TYPE, MediaType.TEXT_HTML + "; charset=utf-8");
}
} else {
content = new BufferedInputStream(new FileInputStream(file));
src = new GraphContentInputSource(content, f, ontologyProvider.getStore());
}
log.debug("Done in {} ms", System.currentTimeMillis() - b4buf);
log.info("SUCCESS parse with format {}.", f);
break;
} catch (OntologyLoadingException e) {