org.stringer
Class NewsFeedKit
java.lang.Object
|
+--org.stringer.NewsFeedKit
- public class NewsFeedKit
- extends java.lang.Object
- Author:
- R. Kevin Cole kcole@users.sourceforge.net
|
Field Summary |
(package private) static java.util.Vector |
activeThreads
each thread that is created is added to this vector when started and removed
when the thread has completed. |
(package private) static org.apache.log4j.Logger |
logger
|
private static java.lang.String |
url
|
|
Constructor Summary |
private |
NewsFeedKit()
this class cannot be instantiated |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
static org.apache.log4j.Logger logger
url
private static java.lang.String url
activeThreads
static final transient java.util.Vector activeThreads
- each thread that is created is added to this vector when started and removed
when the thread has completed.
NewsFeedKit
private NewsFeedKit()
- this class cannot be instantiated
getHasActiveThreads
public static boolean getHasActiveThreads()
- Returns:
- true when there are active thread or false if there are no active threads
killAll
public static void killAll()
- terminate all active threads
loadSubscriptionFile
public static void loadSubscriptionFile(AbstractThreadListener listener)
getFeedLoader
public static AbstractSwingWorker getFeedLoader(AbstractThreadListener listener)
getFeedLoader
public static AbstractSwingWorker getFeedLoader(AbstractThreadListener listener,
java.lang.String uri)
getFeedUpdater
public static AbstractSwingWorker getFeedUpdater(AbstractThreadListener listener,
java.util.List list)
updateFeeds
public static void updateFeeds(AbstractSwingWorker worker)
loadAvailableNews
public static void loadAvailableNews(AbstractThreadListener listener)
loadNewNewsFile
public static void loadNewNewsFile(AbstractThreadListener listener)
updateAllFeeds
public static void updateAllFeeds(AbstractSwingWorker worker)
updateAllFeeds
public static void updateAllFeeds(AbstractThreadListener listener)
getLoadNewFeedsWorker
public static AbstractSwingWorker getLoadNewFeedsWorker(AbstractThreadListener listener)
loadNewFeeds
public static void loadNewFeeds(AbstractSwingWorker worker)
loadNewFeeds
public static void loadNewFeeds(AbstractThreadListener listener)
updateChannel
public static java.lang.Thread updateChannel(Channel channel,
java.lang.String filename)
throws java.io.IOException
java.io.IOException
writeChannel
public static java.lang.Thread writeChannel(Channel channel,
java.lang.String filename)
throws java.io.IOException
java.io.IOException
Copyright © R. Kevin Cole. All Rights Reserved.