| Modifier and Type | Field and Description |
|---|---|
| private static final Logger | |
| private final FileAlterationMonitor | |
| private static final int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | addObserver(FileAlterationObserver
The directory to observe. observer, FileAlterationListener The listener to invoke when the directory changes. listener)Implements org. Add an observer to the monitor. |
| public void | removeObserver(FileAlterationObserver
The directory to stop monitoring. observer)Implements org. Remove an observer from the monitor. |
| public void | |
| public void |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| monitor | back to summary |
|---|---|
| private final FileAlterationMonitor monitor | |
| POLL_INTERVAL | back to summary |
|---|---|
| private static final int POLL_INTERVAL | |
| DefaultDirectoryMonitor | back to summary |
|---|---|
| public DefaultDirectoryMonitor() | |
| addObserver | back to summary |
|---|---|
| public void addObserver(FileAlterationObserver observer, FileAlterationListener listener) Implements org. Doc from org. Add an observer to the monitor.
| |
| removeObserver | back to summary |
|---|---|
| public void removeObserver(FileAlterationObserver observer) Implements org. Doc from org. Remove an observer from the monitor.
| |
| shutdown | back to summary |
|---|---|
| public void shutdown() Implements org.
| |
| start | back to summary |
|---|---|
| public void start() Implements org. | |