synergynetframework.utils.network
Interface DownloadListener


public interface DownloadListener

The listener interface for receiving download events. The class that is interested in processing a download event implements this interface, and the object created with that class is registered with a component using the component's addDownloadListener method. When the download event occurs, that object's appropriate method is invoked.

See Also:
DownloadEvent

Method Summary
 void downloadComplete(java.net.URL url, java.io.File f)
          Download complete.
 void downloadError(java.net.URL url, java.io.File f)
          Download error.
 

Method Detail

downloadComplete

void downloadComplete(java.net.URL url,
                      java.io.File f)
Download complete.

Parameters:
url - the url
f - the f

downloadError

void downloadError(java.net.URL url,
                   java.io.File f)
Download error.

Parameters:
url - the url
f - the f