edu.iris.dmc.service
Class SacpzService
java.lang.Object
edu.iris.dmc.service.BaseService
edu.iris.dmc.service.SacpzService
public class SacpzService
- extends BaseService
Sacpz service is the main class for querying the Sacpz service
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SacpzService
public SacpzService(String baseUrl,
String version,
String compatabilityVersion,
String userAgent)
fetch
public List<Sacpz> fetch(SacpzCriteria criteria)
throws NoDataFoundException,
CriteriaException,
IOException,
ServiceNotSupportedException,
DataFormatException
- fetch sacpz objects list from IRIS Sacpz service
- Parameters:
criteria
-
- Returns:
- list of events
- Throws:
NoDataFoundException
CriteriaException
ServiceNotSupportedException
IOException
DataFormatException
load
public List<Sacpz> load(InputStream inputStream)
throws IOException
- Load Sacpz from inputstream, example local file
- Parameters:
inputStream
-
- Returns:
- list of Sacpz objects
- Throws:
IOException
Copyright © 2013. All Rights Reserved.