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.Runnable
Attempts 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.String
address
The resource's address.protected KMLNetworkLink
link
The link associated with this request.
-
Constructor Summary
Constructors Modifier Constructor Description protected
RequestTask(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 boolean
equals(java.lang.Object o)
int
hashCode()
void
run()
java.lang.String
toString()
-
-
-
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:
run
in interfacejava.lang.Runnable
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-