public class RecursivePathWatcher extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
RecursivePathWatcher.Event
Events to listen to from
start(PathEventHandler) |
static interface |
RecursivePathWatcher.PathEventHandler
Used to receive events from
start(PathEventHandler) |
static interface |
RecursivePathWatcher.PathFilter
Allows filtering of specific subtrees
|
| Constructor and Description |
|---|
RecursivePathWatcher(Path root) |
RecursivePathWatcher(Path root,
RecursivePathWatcher.PathFilter pathFilter) |
| Modifier and Type | Method and Description |
|---|---|
void |
start(RecursivePathWatcher.PathEventHandler eventHandler) |
void |
terminate() |
public RecursivePathWatcher(Path root)
public RecursivePathWatcher(Path root, RecursivePathWatcher.PathFilter pathFilter)
public void start(RecursivePathWatcher.PathEventHandler eventHandler)
public void terminate()
Copyright © 2016–2020. All rights reserved.