public class EventClient extends AbstractFDSNClient
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NO_MAGNITUDE |
static java.lang.String |
NO_ORIGIN |
BASEURL, BEGIN, END, HOST, PRINTURL, RAW, VALIDATE
args, commandName, DEFAULT_USER_AGENT, HELP, jsap, params, result, userAgent, VERSION
Constructor and Description |
---|
EventClient(java.lang.String[] args) |
Modifier and Type | Method and Description |
---|---|
protected void |
addParams() |
void |
handleResults(Quakeml quakeml) |
static void |
main(java.lang.String[] args) |
void |
run() |
add, createListOption, createListOption, createListOption, getArgs, getCommandName, getHelp, getParams, getResult, getUserAgent, isSpecified, isSuccess, requiresAtLeastOneArg, setUserAgent, shouldPrintHelp, shouldPrintVersion
public static final java.lang.String NO_ORIGIN
public static final java.lang.String NO_MAGNITUDE
public EventClient(java.lang.String[] args) throws com.martiansoftware.jsap.JSAPException
com.martiansoftware.jsap.JSAPException
protected void addParams() throws com.martiansoftware.jsap.JSAPException
addParams
in class AbstractFDSNClient
com.martiansoftware.jsap.JSAPException
public void run()
public void handleResults(Quakeml quakeml) throws javax.xml.stream.XMLStreamException, SeisFileException
javax.xml.stream.XMLStreamException
SeisFileException
public static void main(java.lang.String[] args) throws com.martiansoftware.jsap.JSAPException
args
- com.martiansoftware.jsap.JSAPException