Lines Matching defs:dir
51 private final Path dir;
54 private MayFlyHatcher(Path dir, String prefix) {
55 this.dir = dir;
59 static void start(Path dir, String prefix) {
60 MayFlyHatcher hatcher = new MayFlyHatcher(dir, prefix);
68 Path name = dir.resolve(prefix + (++n));
110 Path dir = TestUtil.createTemporaryDirectory();
117 WatchKey key = dir.register(watcher, ENTRY_CREATE, ENTRY_DELETE);
120 MayFlyHatcher.start(dir, "clinger");
121 MayFlyHatcher.start(dir, "crawler");
122 MayFlyHatcher.start(dir, "burrower");
123 MayFlyHatcher.start(dir, "swimmer");
173 TestUtil.removeAll(dir);