NASA World Wind

gov.nasa.worldwind.ogc.kml
Class KMLNetworkLink.RequestTask

java.lang.Object
  extended by gov.nasa.worldwind.ogc.kml.KMLNetworkLink.RequestTask
All Implemented Interfaces:
Runnable
Enclosing class:
KMLNetworkLink

protected static class KMLNetworkLink.RequestTask
extends Object
implements Runnable

Attempts to find this network link resource file locally, and if that fails attempts to find it remotely.


Field Summary
protected  String address
          The resource's address.
protected  KMLNetworkLink link
          The link associated with this request.
 
Constructor Summary
protected KMLNetworkLink.RequestTask(KMLNetworkLink link, String address)
          Construct a request task for a specified network link resource.
 
Method Summary
 boolean equals(Object o)
           
 int hashCode()
           
 void run()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

address

protected final String address
The resource's address.


link

protected final KMLNetworkLink link
The link associated with this request.

Constructor Detail

KMLNetworkLink.RequestTask

protected KMLNetworkLink.RequestTask(KMLNetworkLink link,
                                     String address)
Construct a request task for a specified network link resource.

Parameters:
link - the network link for which to construct the request task.
address - the address of the resource to request.
Method Detail

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

run

public void run()
Specified by:
run in interface Runnable

toString

public String toString()
Overrides:
toString in class Object

NASA World Wind