jsky.catalog
Class URLQueryResult

java.lang.Object
  extended by jsky.catalog.URLQueryResult
All Implemented Interfaces:
QueryResult

public class URLQueryResult
extends java.lang.Object
implements QueryResult

Represents a query result of some type pointed to by a URL.


Field Summary
protected  int hdu
          For FITS tables, the index of the HDU in the FITS file, otherwise -1.
protected  java.net.URL url
          A URL pointing to the query result
 
Constructor Summary
URLQueryResult(java.net.URL url)
          Create a URLQueryResult from the given URL.
URLQueryResult(java.net.URL url, int hdu)
          Create a URLQueryResult from the given URL.
 
Method Summary
 int getHDU()
          Return the HDU
 java.net.URL getURL()
          Return the URL
 void setHDU(int hdu)
          Set the HDU
 void setURL(java.net.URL url)
          Set the URL
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

url

protected java.net.URL url
A URL pointing to the query result


hdu

protected int hdu
For FITS tables, the index of the HDU in the FITS file, otherwise -1.

Constructor Detail

URLQueryResult

public URLQueryResult(java.net.URL url)
Create a URLQueryResult from the given URL.


URLQueryResult

public URLQueryResult(java.net.URL url,
                      int hdu)
Create a URLQueryResult from the given URL.

Method Detail

getURL

public java.net.URL getURL()
Return the URL


setURL

public void setURL(java.net.URL url)
Set the URL


getHDU

public int getHDU()
Return the HDU


setHDU

public void setHDU(int hdu)
Set the HDU