public class JPathWatcher extends Watcher
Constructor and Description |
---|
JPathWatcher(java.nio.file.Path filePath,
WatchEventListener watchEventListener) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected void |
init() |
void |
registerFilePath(java.nio.file.Path filePath) |
void |
run() |
void |
unregisterFilePath(java.nio.file.Path filePath) |
addCreatedFilePathName, clearCreatedFilePathNames, fireWatchEventListener, getBaseFilePath, getDownloadedFilePathNames, getFailedFilePaths, isIgnoredFilePath, processFailedFilePaths, processMissingFilePath, processWatchEvent, removeCreatedFilePathName, walkFileTree
public JPathWatcher(java.nio.file.Path filePath, WatchEventListener watchEventListener) throws java.io.IOException
java.io.IOException
public void registerFilePath(java.nio.file.Path filePath) throws java.io.IOException
registerFilePath
in class Watcher
java.io.IOException
public void run()
public void unregisterFilePath(java.nio.file.Path filePath)
unregisterFilePath
in class Watcher