@RequestMapping(value = "/reload", method = RequestMethod.GET) public void reload(HttpServletResponse response) throws IOException, FileNotFoundException, RDFParseException, RDFHandlerException { sparqlSamplesFile = FileUtils.getFile(sparqlSamplesFileName); this.startUp(); response.setStatus(HttpServletResponse.SC_ACCEPTED); }
public SparqlSamplesController() { try { sparqlSamplesFile = FileUtils.getFile(sparqlSamplesFileName); } catch (Exception ioex) { } }