/** Load the contents of URL into a model - may not be as efficient as bulk loading into a TDB graph */ public static void loadModel(Model model, String url) { loadModel(model, url, false) ; }
/** Load the contents of a list of URLs into a model - may not be as efficient as bulk loading into a TDB graph */ public static void loadModel(Model model, List<String> urls, boolean showProgress) { Timer timer = new Timer() ; timer.startTimer() ; for ( String s : urls ) { if ( showProgress ) System.out.printf("Load: %s\n", s) ; loadModel(model, s, showProgress) ; } long time = timer.endTimer() ; if ( showProgress ) System.out.printf("Time for load: %.2fs\n", time/1000.0) ; model.close(); }