@Contract
public interface FileMonitoring
Modifier and Type | Interface and Description |
---|---|
static interface |
FileMonitoring.FileChangeListener |
Modifier and Type | Method and Description |
---|---|
void |
fileModified(File file)
Informs the monitor that a file has been changed.
|
void |
monitors(File file,
FileMonitoring.FileChangeListener listener)
Registers a FileChangeListener for a particular file
|
void monitors(File file, FileMonitoring.FileChangeListener listener)
file
- the file of interestlistener
- the listener to notifyvoid fileModified(File file)
Copyright © 2021. All rights reserved.