public abstract class Watcher extends Watched {
protected Watcher(String path) { super(path); }
- public abstract void changed(Watched w);
public Watcher watcher() { return this; }
+ public abstract void changed(Watched w);
+ public synchronized void scan() throws IOException { super.scan(); }
}