org.xnap.transfer
Class UploadManager

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

public class UploadManager
extends AbstractTransferManager
implements java.beans.PropertyChangeListener

This class acts as data container for Upload 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(Upload d)
           
static UploadManager getInstance()
           
 void propertyChange(java.beans.PropertyChangeEvent e)
           
 void remove(Upload 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 UploadManager getInstance()

add

public void add(Upload d)

propertyChange

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

remove

public void remove(Upload d)


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