jsky.catalog
Interface QueryResultHandler

All Known Implementing Classes:
CatalogTree

public interface QueryResultHandler

This defines the common interface for classes that can fetch and parse a QueryResult, given the URL.


Method Summary
 QueryResult getQueryResult(java.net.URL url)
          Fetch the data for the given URL and return a QueryResult representing it.
 

Method Detail

getQueryResult

QueryResult getQueryResult(java.net.URL url)
                           throws java.io.IOException
Fetch the data for the given URL and return a QueryResult representing it. If a class can not parse the result returned from the HTTP server, it should return a URLQueryResult.

Throws:
java.io.IOException