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(URL url)
          Fetch the data for the given URL and return a QueryResult representing it.
 

Method Detail

getQueryResult

QueryResult getQueryResult(URL url)
                           throws 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:
IOException


Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.