Package gov.nasa.worldwind.ogc.kml
Class KMLNetworkLink.RequestTask
- java.lang.Object
-
- gov.nasa.worldwind.ogc.kml.KMLNetworkLink.RequestTask
-
- All Implemented Interfaces:
java.lang.Runnable
- Enclosing class:
- KMLNetworkLink
protected static class KMLNetworkLink.RequestTask extends java.lang.Object implements java.lang.RunnableAttempts to find this network link resource file locally, and if that fails attempts to find it remotely.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringaddressThe resource's address.protected KMLNetworkLinklinkThe link associated with this request.
-
Constructor Summary
Constructors Modifier Constructor Description protectedRequestTask(KMLNetworkLink link, java.lang.String address)Construct a request task for a specified network link resource.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)inthashCode()voidrun()java.lang.StringtoString()
-
-
-
Field Detail
-
link
protected final KMLNetworkLink link
The link associated with this request.
-
address
protected final java.lang.String address
The resource's address.
-
-
Constructor Detail
-
RequestTask
protected RequestTask(KMLNetworkLink link, java.lang.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
-
run
public void run()
- Specified by:
runin interfacejava.lang.Runnable
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-