Example usage for Java org.apache.commons.io.monitor FileAlterationMonitor fields, constructors, methods, implement or subclass
The text is from its open source code.
FileAlterationMonitor(long interval) Construct a monitor with the specified interval. | |
FileAlterationMonitor(long interval, FileAlterationObserver... observers) Construct a monitor with the specified interval and set of observers. | |
FileAlterationMonitor() Construct a monitor with a default interval of 10 seconds. |
void | addObserver(final FileAlterationObserver observer) Add a file system observer to this monitor. |
Iterable | getObservers() Returns the set of FileAlterationObserver registered with this monitor. |
void | setThreadFactory(ThreadFactory threadFactory) Set the thread factory. |
void | start() Start monitoring. |
void | stop() Stop monitoring. |