net.sourceforge.rssowl.controller.thread
Class FeedQueueLoader

java.lang.Object
  extended byjava.lang.Thread
      extended bynet.sourceforge.rssowl.controller.thread.FeedQueueLoader
All Implemented Interfaces:
Runnable

public class FeedQueueLoader
extends Thread

The RSS queue loader is a thread that loads feed from a Vector. The feeds are loaded feed by feed beginning with the first element of the vector.

Version:
1.1.3
Author:
Benjamin Pasero

Field Summary
private  Vector feedQueue
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
FeedQueueLoader()
          Instantiate a new FeedQueueLoader Thread
 
Method Summary
 void addFeed(String url)
          Add a feed to the queue
(package private)  String getLastFeed()
          Get the last feed to load
(package private)  String getNextFeed()
          Get the next feed to load
 void run()
           
 void startThread()
          Start the RSS Queue loader Thread
 void stopThread()
          Stop the RSS Queue loader Thread
 
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, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

feedQueue

private Vector feedQueue
Constructor Detail

FeedQueueLoader

public FeedQueueLoader()
Instantiate a new FeedQueueLoader Thread

Method Detail

addFeed

public void addFeed(String url)
Add a feed to the queue

Parameters:
url - URL of the feed

run

public void run()
See Also:
Thread.run()

startThread

public void startThread()
Start the RSS Queue loader Thread


stopThread

public void stopThread()
Stop the RSS Queue loader Thread


getLastFeed

String getLastFeed()
Get the last feed to load

Returns:
String URL of the last feed

getNextFeed

String getNextFeed()
Get the next feed to load

Returns:
String URL of the next feed


RSSOwl - RSS / RDF / Atom Newsreader

SourceForge.net Logo