| Constructor and Description |
|---|
DirWatcher(String path,
String filter)
Constructor of the class.
|
DirWatcher(String path,
String filter,
FileTime lastUpdate)
Constructor of the class.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
onChange(File file,
String action) |
void |
run()
Run the thread.
|
cancel, scheduledExecutionTimepublic DirWatcher(String path, String filter)
path - directory path to watchfilter - detect changes only for filtered extensionsCopyright © 2023. All rights reserved.