util.rmi
Class URLEvent

java.lang.Object
  extended by java.util.EventObject
      extended by util.rmi.RmiEvent
          extended by util.rmi.URLEvent
All Implemented Interfaces:
Serializable

public class URLEvent
extends RmiEvent

An url event signals that the content of an URL has changed or is for the first time available. It is intended to notify listeners that derive some of their data from an URL. It is somewhat similar to the HyperlinkEvent.

See Also:
Serialized Form

Field Summary
private  URL url
          The url that has changed.
 
Fields inherited from class util.rmi.RmiEvent
localHost, sourceName
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
URLEvent(Object src, URL content)
          Contructes a new URL event specifying the url-sourtce.
 
Method Summary
 URL getURL()
          Returns the URL associated with the event.
 
Methods inherited from class util.rmi.RmiEvent
getHost, getSourceName, setSourceName, toString
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

url

private URL url
The url that has changed.

Constructor Detail

URLEvent

public URLEvent(Object src,
                URL content)
Contructes a new URL event specifying the url-sourtce.

Method Detail

getURL

public URL getURL()
Returns the URL associated with the event.