public interface WatcherCallback
DirectoryWatcher
's own callback interface for typical WatchEvent
kinds.
It is the implementor's responsibility to check whether given path is a regular file (e.g. no symlink) or a directory.
Note that watching added and removed directories is automatically handled by DirectoryWatcher
.
Modifier and Type | Method and Description |
---|---|
void |
added(Path p) |
void |
modified(Path p) |
void |
removed(Path p) |
Copyright © 2003–2016 Magnolia International Ltd.. All rights reserved.