System.out.println("Loading " + file + ": ");
loadFile(file, sail.getConnection(), sail.getValueFactory(), manager);
System.out.print('\n');
}
manager.close();
sail.shutDown();
}
private static void loadFile(final String file, SailConnection sc, ValueFactory vf, CommitManager manager) throws RDFParseException, RDFHandlerException, FileNotFoundException, IOException {
NTriplesParser parser = new NTriplesParser(vf);
TripleHandler handler = new TripleHandler(sc, manager);