public static File getJsonLocation(Configuration conf) { return new File(conf.getFile("download.path"), "wikidata.json.bz2"); }
/** * Hack: Better to ask the configurator for this! * @param conf * @return */ public static SpatialDataFolder get(Configuration conf) { return new SpatialDataFolder(conf.getFile("spatial.dir")); } }
/** * Hack: Better to ask the configurator for this! * @param conf * @return */ public static SpatialDataFolder get(Configuration conf) { return new SpatialDataFolder(conf.getFile("spatial.dir")); } }
File path = new File(conf.getConf().getFile("download.path"), "wikidata.json.bz2"); if (!path.isFile()) { File tf = File.createTempFile("wikidata.json", null);
File path = new File(conf.getConf().getFile("download.path"), "wikidata.json.bz2"); if (!path.isFile()) { File tf = File.createTempFile("wikidata.json", null);