net.sourceforge.atunes.kernel.modules.podcast
Class PodcastFeedEntryDownloader

java.lang.Object
  extended by javax.swing.SwingWorker<java.lang.Boolean,java.lang.Void>
      extended by net.sourceforge.atunes.kernel.modules.podcast.PodcastFeedEntryDownloader
All Implemented Interfaces:
java.lang.Runnable, java.util.concurrent.Future<java.lang.Boolean>, java.util.concurrent.RunnableFuture<java.lang.Boolean>

public class PodcastFeedEntryDownloader
extends javax.swing.SwingWorker<java.lang.Boolean,java.lang.Void>

The Class PodcastFeedEntryDownloader.

Author:
redbrain

Nested Class Summary
 
Nested classes/interfaces inherited from class javax.swing.SwingWorker
javax.swing.SwingWorker.StateValue
 
Constructor Summary
PodcastFeedEntryDownloader(PodcastFeedEntry podcastFeedEntry)
          Instantiates a new podcast feed entry downloader.
 
Method Summary
protected  java.lang.Boolean doInBackground()
           
protected  void done()
           
 PodcastFeedEntry getPodcastFeedEntry()
          Gets the podcast feed entry.
 long getTotalBytes()
          Gets the total bytes.
 
Methods inherited from class javax.swing.SwingWorker
addPropertyChangeListener, cancel, execute, firePropertyChange, get, get, getProgress, getPropertyChangeSupport, getState, isCancelled, isDone, process, publish, removePropertyChangeListener, run, setProgress
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PodcastFeedEntryDownloader

public PodcastFeedEntryDownloader(PodcastFeedEntry podcastFeedEntry)
Instantiates a new podcast feed entry downloader.

Parameters:
podcastFeedEntry - the podcast feed entry
Method Detail

doInBackground

protected java.lang.Boolean doInBackground()
                                    throws java.lang.Exception
Specified by:
doInBackground in class javax.swing.SwingWorker<java.lang.Boolean,java.lang.Void>
Throws:
java.lang.Exception

getTotalBytes

public long getTotalBytes()
Gets the total bytes.

Returns:
the total bytes

done

protected void done()
Overrides:
done in class javax.swing.SwingWorker<java.lang.Boolean,java.lang.Void>

getPodcastFeedEntry

public PodcastFeedEntry getPodcastFeedEntry()
Gets the podcast feed entry.

Returns:
the podcast feed entry


Copyright © 2006-2008 The aTunes Team. All Rights Reserved.