FileUpdateMonitor does nothing.
Normally, you want to use org.jabref.gui.util.DefaultFileUpdateMonitor except if you don't care about updates.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | addListenerForFile(Path file, FileUpdateListener listener)
Implements org. Add a new file to monitor. |
| public boolean | isActive()
Implements org. Indicates whether the native system's file monitor has successfully started. |
| public void | removeListener(Path path, FileUpdateListener listener)
Implements org. Removes a listener from the monitor. |
| public void |
| DummyFileUpdateMonitor | back to summary |
|---|---|
| public DummyFileUpdateMonitor() | |
| addListenerForFile | back to summary |
|---|---|
| public void addListenerForFile(Path file, FileUpdateListener listener) Implements org. Doc from org. Add a new file to monitor.
| |
| isActive | back to summary |
|---|---|
| public boolean isActive() Implements org. Doc from org. Indicates whether the native system's file monitor has successfully started.
| |
| removeListener | back to summary |
|---|---|
| public void removeListener(Path path, FileUpdateListener listener) Implements org. Doc from org. Removes a listener from the monitor.
| |
| shutdown | back to summary |
|---|---|
| public void shutdown() Implements org. Doc from org. stops watching for changes
| |