Example usage for Java org.apache.commons.vfs2.impl DefaultFileMonitor fields, constructors, methods, implement or subclass
The text is from its open source code.
void | addFile(final FileObject file) Adds a file to be monitored. |
void | removeFile(final FileObject file) Removes a file from being monitored. |
void | setDelay(final long delay) Set the delay between runs. |
void | setRecursive(final boolean newRecursive) Access method to set the recursive setting when adding files for monitoring. |
void | start() Starts monitoring the files that have been added. |
void | stop() Stops monitoring the files that have been added. |