Resolves the given path against this path.
Resolves the given path against this path.
Convenience method to register all directories in a tree with a WatchService
.
Convenience method to register all directories in a tree with a WatchService
.
Traverses the directory tree under this directory (including this), and calls register
on each one. Specify
maxDepth
to limit how deep the traversal will go.
Note that directories created after registration will not be watched.
The watch service that all directories will be registered with.
All directories found will be registered for these events.
The maximum directory depth the traversal will go, unlimited by default.
All directories found will be registered with these modifiers.
A WatchKey
for each directory registered.