Package aQute.lib.watcher
Class FileWatcher.FileSystemWatcher
- java.lang.Object
-
- aQute.lib.watcher.FileWatcher.FileSystemWatcher
-
- Enclosing class:
- FileWatcher
static class FileWatcher.FileSystemWatcher extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Set<java.nio.file.Path>
watching
private java.nio.file.WatchService
watchService
-
Constructor Summary
Constructors Constructor Description FileSystemWatcher(java.nio.file.FileSystem fs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) void
addPath(java.nio.file.Path path)
(package private) void
close()
(package private) void
watch(java.util.function.BiConsumer<java.nio.file.Path,java.lang.String> changed)
-