nan.tools
Class BackgroundCacheDownloader

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

public class BackgroundCacheDownloader
extends AbstractBackgroundTask

Downloads a message cache for offline reading.

Version:
1.1, 1/3/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
BackgroundCacheDownloader(View waiter, Newsgroup newsgroup, NNTPClient client, WaitDialog dialog)
          Creates a new BackgroundCacheDownloader object.
 
Method Summary
 void run()
          Downloads and caches this group.
 java.lang.String toString()
          Returns a String representation of this BackgroundCacheDownloader.
 
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

BackgroundCacheDownloader

public BackgroundCacheDownloader(View waiter,
                                 Newsgroup newsgroup,
                                 NNTPClient client,
                                 WaitDialog dialog)
Creates a new BackgroundCacheDownloader object.

Parameters:
waiter - The waiter that is used to wait on background tasks.
newsgroup - The Newsgroup the cache is for.
client - The NNTP client.
dialog - The Wait Dialog.
Method Detail

run

public void run()
Downloads and caches this group.


toString

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

Returns:
A String representation.