edu.iris.dmc.service
Class RespService
java.lang.Object
edu.iris.dmc.service.BaseService
edu.iris.dmc.service.RespService
public class RespService
- extends BaseService
Resp service is the main class for querying the Resp service
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RespService
public RespService(String baseUrl,
String version,
String compatabilityVersion,
String userAgent)
fetch
public String fetch(String url)
throws NoDataFoundException,
CriteriaException,
IOException,
ServiceNotSupportedException
- Throws:
NoDataFoundException
CriteriaException
IOException
ServiceNotSupportedException
fetch
public String fetch(Criteria criteria)
throws NoDataFoundException,
CriteriaException,
IOException,
ServiceNotSupportedException
- Find Resp based on the criteria provided. This will download data
- Parameters:
criteria
- level
-
- Returns:
- List of all stations meeting the criteria provided.
- Throws:
NoDataFoundException
CriteriaException
ServiceNotSupportedException
IOException
Copyright © 2013. All Rights Reserved.