Method Summary |
|
public void | addFolder(FolderInfo newFolder) This adds a FolderInfo to the FolderTracker. |
public synchronized long | calculateNextUpdateTime(long currentTime) This returns the next update time. |
public javax.swing.Action | getAction() This returns the action to run when it's time to update the folder. |
public Logger | getLogger() Gets the Logger for this class. |
public void | removeFolder(FolderInfo folder) This removes a FolderInfo from the FolderTracker. |
public void | run() This runs the thread, running checkFolder() every
updateCheckMilliseconds until the thread is interrupted. |
public void | setStopped(boolean pStopped) Singals that the tracker thread should stop. |
public void | updateFolders(long currentTime) Goes through the list of folders and updates the ones that are
due for an update. |
public synchronized void | updateTrackerNextTime(long pTime) Adds a new update time. |