Lines Matching defs:dir
286 * @param dir The directory to scan
290 public boolean addDirectory(String dir) {
291 String directory = dir;
353 for (String dir : directories) {
355 if ("".equals(dir)) {
358 sourceRoot = new File(config.getSourceRootFile(), dir);
363 String startuid = Util.path2uid(dir, "");
371 logger.log(Level.INFO, "Counting files in ''{0}'' ...", dir);
372 file_cnt = indexDown(sourceRoot, dir, true, 0, 0);
375 new Object[] { file_cnt, dir });
379 indexDown(sourceRoot, dir, false, 0, file_cnt);
577 logger.log(Level.FINE, "Removed empty xref dir ''{0}''",
784 * @param dir the root indexDirectory to generate indexes for
792 private int indexDown(File dir, String parent, boolean count_only,
800 if (!accept(dir)) {
804 File[] files = dir.listFiles();
807 + dir.getAbsolutePath() + "'");
819 if (accept(dir, file)) {