org.stringer.thread
Class SubscribedSwingWorker

java.lang.Object
  |
  +--EDU.oswego.cs.dl.util.concurrent.ThreadFactoryUser
        |
        +--EDU.oswego.cs.dl.util.concurrent.misc.SwingWorker
              |
              +--org.stringer.thread.AbstractSwingWorker
                    |
                    +--org.stringer.thread.SubscribedSwingWorker
All Implemented Interfaces:
java.lang.Runnable

public class SubscribedSwingWorker
extends AbstractSwingWorker

Load Tree data from the subscribed 'feeds' list.

Author:
R. Kevin Cole kcole@users.sourceforge.net

Field Summary
(package private)  Feed feed
           
(package private) static org.apache.log4j.Logger logger
           
 
Fields inherited from class org.stringer.thread.AbstractSwingWorker
buildDate, listenerList, monitor, running
 
Fields inherited from class EDU.oswego.cs.dl.util.concurrent.misc.SwingWorker
 
Fields inherited from class EDU.oswego.cs.dl.util.concurrent.ThreadFactoryUser
threadFactory_
 
Constructor Summary
SubscribedSwingWorker(IThreadListener listener)
           
 
Method Summary
protected  java.lang.Object construct()
          load the table data on our worker thread
protected  Feed getFeed()
          Load the newsgroup list from a newsrc file.
 
Methods inherited from class org.stringer.thread.AbstractSwingWorker
addThreadListener, finished, fireBegin, fireBeginUnit, fireCanceled, fireEndUnit, fireThreadComplete, getBuildDate, getProgressMonitor, interrupt, isRunning, removeThreadListener, setProgressMonitor, setRunning
 
Methods inherited from class EDU.oswego.cs.dl.util.concurrent.misc.SwingWorker
get, getException, getTimeout, isReady, run, start, timedGet
 
Methods inherited from class EDU.oswego.cs.dl.util.concurrent.ThreadFactoryUser
getThreadFactory, setThreadFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

static org.apache.log4j.Logger logger

feed

Feed feed
Constructor Detail

SubscribedSwingWorker

public SubscribedSwingWorker(IThreadListener listener)
Method Detail

construct

protected java.lang.Object construct()
                              throws java.lang.InterruptedException
load the table data on our worker thread

Specified by:
construct in class EDU.oswego.cs.dl.util.concurrent.misc.SwingWorker
java.lang.InterruptedException

getFeed

protected Feed getFeed()
                throws java.lang.InterruptedException
Load the newsgroup list from a newsrc file.

java.lang.InterruptedException


Copyright © R. Kevin Cole. All Rights Reserved.