nan.tools
Class BackgroundCacheReader

java.lang.Object
  extended byjava.lang.Thread
      extended bynan.tools.AbstractBackgroundTask
          extended bynan.tools.BackgroundCacheReader
All Implemented Interfaces:
BackgroundTask, java.lang.Runnable

public class BackgroundCacheReader
extends AbstractBackgroundTask

Reads a message cache in the background.

Version:
1.8, 1/6/04
Author:
John David Ratliff

Field Summary
 
Fields inherited from class nan.tools.AbstractBackgroundTask
finished
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
BackgroundCacheReader(java.io.File directory, Newsgroup newsgroup, MessageTree tree, WaitDialog dialog)
          Creates a new BackgroundCacheReader object.
 
Method Summary
 void run()
          Runs this background task.
 java.lang.String toString()
          Returns a String representation of this object.
 
Methods inherited from class nan.tools.AbstractBackgroundTask
isFinished
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BackgroundCacheReader

public BackgroundCacheReader(java.io.File directory,
                             Newsgroup newsgroup,
                             MessageTree tree,
                             WaitDialog dialog)
Creates a new BackgroundCacheReader object.

Parameters:
directory - The directory of the cache.
newsgroup - The Newsgroup we are reading.
tree - The tree to add the cache to.
dialog - The dialog to display progress on.
Method Detail

run

public void run()
Runs this background task.


toString

public java.lang.String toString()
Returns a String representation of this object.

Returns:
A String representation.