Package edu.sc.seis.sod.tools
Class CommandLineTool
java.lang.Object
edu.sc.seis.seisFile.client.AbstractClient
edu.sc.seis.sod.tools.CommandLineTool
- Direct Known Subclasses:
find_events
,find_seismograms
,find_stations
public class CommandLineTool
extends edu.sc.seis.seisFile.client.AbstractClient
-
Field Summary
FieldsFields inherited from class edu.sc.seis.seisFile.client.AbstractClient
args, commandName, DEFAULT_USER_AGENT, HELP, jsap, params, result, userAgent, VERSION
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
org.apache.velocity.VelocityContext
static void
run
(CommandLineTool ls) boolean
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
-
requiresStdin
protected boolean requiresStdin
-
-
Constructor Details
-
CommandLineTool
- Throws:
com.martiansoftware.jsap.JSAPException
-
-
Method Details
-
addParams
protected void addParams() throws com.martiansoftware.jsap.JSAPException- Overrides:
addParams
in classedu.sc.seis.seisFile.client.AbstractClient
- Throws:
com.martiansoftware.jsap.JSAPException
-
getContext
public org.apache.velocity.VelocityContext getContext() -
shouldPrintRecipe
public boolean shouldPrintRecipe() -
getTemplate
- Throws:
IOException
-
run
- Throws:
Exception
-