org.stringer.thread
Class GetAvailableFeeds

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.GetAvailableFeeds
All Implemented Interfaces:
java.lang.Runnable

public class GetAvailableFeeds
extends AbstractSwingWorker

Load table data for all available 'feeds'

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

Field Summary
(package private)  java.lang.String feedURI
           
(package private) static org.apache.log4j.Logger logger
           
(package private)  java.util.Map subscriptionMap
          this listener will be informed of thread progress
 
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
GetAvailableFeeds(AbstractThreadListener listener, java.lang.String feedUri)
           
 
Method Summary
protected  java.lang.Object construct()
          load the table data on our worker thread
protected  java.util.Vector getFeed()
          Load the feed list from a newsrc file and update the article content of each.
 
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

subscriptionMap

java.util.Map subscriptionMap
this listener will be informed of thread progress


feedURI

java.lang.String feedURI
Constructor Detail

GetAvailableFeeds

public GetAvailableFeeds(AbstractThreadListener listener,
                         java.lang.String feedUri)
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 java.util.Vector getFeed()
Load the feed list from a newsrc file and update the article content of each.



Copyright © R. Kevin Cole. All Rights Reserved.