netx.jnlp.event

Class DownloadEvent


public class DownloadEvent
extends EventObject

This event is sent during the launch of an application.
Version:
$Revision: 1.3 $
Author:
Jon A. Maxwell (JAM) - initial author

Constructor Summary

DownloadEvent(ResourceTracker source, Resource resource)
Creates a launch event for the specified application instance.

Method Summary

URL
getResourceLocation()
Returns the location of the resource being downloaded.
ResourceTracker
getTracker()
Returns the tracker that owns the resource.

Constructor Details

DownloadEvent

public DownloadEvent(ResourceTracker source,
                     Resource resource)
Creates a launch event for the specified application instance.
Parameters:
source - the resource tracker
resource - the resource

Method Details

getResourceLocation

public URL getResourceLocation()
Returns the location of the resource being downloaded.

getTracker

public ResourceTracker getTracker()
Returns the tracker that owns the resource.