Package net.sourceforge.jnlp.event
Class DownloadEvent
- java.lang.Object
-
- java.util.EventObject
-
- net.sourceforge.jnlp.event.DownloadEvent
-
- All Implemented Interfaces:
java.io.Serializable
public class DownloadEvent extends java.util.EventObject
This event is sent during the launch of an application.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DownloadEvent(ResourceTracker source, Resource resource)
Creates a launch event for the specified application instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.net.URL
getResourceLocation()
ResourceTracker
getTracker()
-
-
-
Constructor Detail
-
DownloadEvent
public DownloadEvent(ResourceTracker source, Resource resource)
Creates a launch event for the specified application instance.- Parameters:
source
- the resource trackerresource
- the resource
-
-
Method Detail
-
getTracker
public ResourceTracker getTracker()
- Returns:
- the tracker that owns the resource.
-
getResourceLocation
public java.net.URL getResourceLocation()
- Returns:
- the location of the resource being downloaded.
-
-