org.xnap.transfer
Class DownloadManager

java.lang.Object
  extended by org.xnap.transfer.AbstractTransferManager
      extended by org.xnap.transfer.DownloadManager
All Implemented Interfaces:
java.beans.PropertyChangeListener, java.util.EventListener

public class DownloadManager
extends AbstractTransferManager
implements java.beans.PropertyChangeListener

This class acts as data container for Download objects.

The class makes use of the singleton pattern.


Field Summary
 
Fields inherited from class org.xnap.transfer.AbstractTransferManager
listeners, logger, prefs
 
Method Summary
 void add(Download d)
           
static DownloadManager getInstance()
           
 void propertyChange(java.beans.PropertyChangeEvent e)
           
 void remove(Download d)
           
 
Methods inherited from class org.xnap.transfer.AbstractTransferManager
add, addListListener, clearDone, getCurrentRate, getQueue, getTransfers, remove, removeListListener, setAutoClearInterval
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static DownloadManager getInstance()

add

public void add(Download d)

propertyChange

public void propertyChange(java.beans.PropertyChangeEvent e)
Specified by:
propertyChange in interface java.beans.PropertyChangeListener

remove

public void remove(Download d)


Copyright © 2001-2005 XNap Team. All Rights Reserved.