| java.lang.Object net.jforum.util.FileMonitor
FileMonitor | public class FileMonitor (Code) | | Monitor class for file changes.
author: Rafael Steil version: $Id: FileMonitor.java,v 1.9 2007/04/12 02:11:53 rafaelsteil Exp $ |
addFileChangeListener | public void addFileChangeListener(FileChangeListener listener, String filename, long period)(Code) | | Add a file to the monitor
Parameters: listener - The file listener Parameters: filename - The filename to watch Parameters: period - The watch interval. |
removeFileChangeListener | public void removeFileChangeListener(String filename)(Code) | | Stop watching a file
Parameters: listener - The file listener Parameters: filename - The filename to keep watch |
|
|