Modifier and Type | Class and Description |
---|---|
static interface |
FileWatcher.Callback |
Constructor and Description |
---|
FileWatcher(Path watchedFile,
FileWatcher.Callback callback) |
FileWatcher(Path watchedFile,
FileWatcher.Callback callback,
List<WatchEvent.Kind<Path>> kinds) |
public FileWatcher(Path watchedFile, FileWatcher.Callback callback) throws IOException
IOException
public FileWatcher(Path watchedFile, FileWatcher.Callback callback, List<WatchEvent.Kind<Path>> kinds) throws IOException
IOException
Copyright © 2022 The Apache Software Foundation. All rights reserved.