Package edu.sc.seis.seisFile.fdsnws
Class EventClient
java.lang.Object
edu.sc.seis.seisFile.client.AbstractClient
edu.sc.seis.seisFile.fdsnws.AbstractFDSNClient
edu.sc.seis.seisFile.fdsnws.EventClient
public class EventClient extends AbstractFDSNClient
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
NO_MAGNITUDE
static java.lang.String
NO_ORIGIN
Fields inherited from class edu.sc.seis.seisFile.fdsnws.AbstractFDSNClient
BASEURL, BEGIN, END, HOST, PRINTURL, RAW, VALIDATE
Fields inherited from class edu.sc.seis.seisFile.client.AbstractClient
args, commandName, DEFAULT_USER_AGENT, HELP, jsap, params, result, userAgent, VERSION
-
Constructor Summary
Constructors Constructor Description EventClient(java.lang.String[] args)
-
Method Summary
Modifier and Type Method Description protected void
addParams()
void
handleResults(Quakeml quakeml)
static void
main(java.lang.String[] args)
void
run()
Methods inherited from class edu.sc.seis.seisFile.client.AbstractClient
add, createListOption, createListOption, createListOption, getArgs, getCommandName, getHelp, getParams, getResult, getUserAgent, isSpecified, isSuccess, requiresAtLeastOneArg, setUserAgent, shouldPrintHelp, shouldPrintVersion
-
Field Details
-
NO_ORIGIN
public static final java.lang.String NO_ORIGIN- See Also:
- Constant Field Values
-
NO_MAGNITUDE
public static final java.lang.String NO_MAGNITUDE- See Also:
- Constant Field Values
-
-
Constructor Details
-
EventClient
public EventClient(java.lang.String[] args) throws com.martiansoftware.jsap.JSAPException- Throws:
com.martiansoftware.jsap.JSAPException
-
-
Method Details
-
addParams
protected void addParams() throws com.martiansoftware.jsap.JSAPException- Overrides:
addParams
in classAbstractFDSNClient
- Throws:
com.martiansoftware.jsap.JSAPException
-
run
public void run() -
handleResults
public void handleResults(Quakeml quakeml) throws javax.xml.stream.XMLStreamException, SeisFileException- Throws:
javax.xml.stream.XMLStreamException
SeisFileException
-
main
public static void main(java.lang.String[] args) throws com.martiansoftware.jsap.JSAPException- Parameters:
args
-- Throws:
com.martiansoftware.jsap.JSAPException
-