| Modifier and Type | Method and Description |
|---|---|
| public void | addListenerForFile(Path
The file to monitor. file, FileUpdateListener listener)Add a new file to monitor. |
| public boolean | Returns: true is process is running; false otherwise.Indicates whether the native system's file monitor has successfully started. |
| public void | removeListener(Path
The path to remove. path, FileUpdateListener listener)Removes a listener from the monitor. |
| public void |
| addListenerForFile | back to summary |
|---|---|
| public void addListenerForFile(Path file, FileUpdateListener listener) throws IOException Add a new file to monitor.
| |
| isActive | back to summary |
|---|---|
| public boolean isActive() Indicates whether the native system's file monitor has successfully started.
| |
| removeListener | back to summary |
|---|---|
| public void removeListener(Path path, FileUpdateListener listener) Removes a listener from the monitor.
| |
| shutdown | back to summary |
|---|---|
| public void shutdown() stops watching for changes | |