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
Fields Modifier and Type Field Description protected boolean
requiresStdin
-
Constructor Summary
Constructors Constructor Description CommandLineTool(java.lang.String[] args)
-
Method Summary
Modifier and Type Method Description protected void
addParams()
org.apache.velocity.VelocityContext
getContext()
java.io.InputStream
getTemplate()
static void
run(CommandLineTool ls)
boolean
shouldPrintRecipe()
-
Field Details
-
requiresStdin
protected boolean requiresStdin
-
-
Constructor Details
-
CommandLineTool
public CommandLineTool(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 classedu.sc.seis.seisFile.client.AbstractClient
- Throws:
com.martiansoftware.jsap.JSAPException
-
getContext
public org.apache.velocity.VelocityContext getContext() -
shouldPrintRecipe
public boolean shouldPrintRecipe() -
getTemplate
public java.io.InputStream getTemplate() throws java.io.IOException- Throws:
java.io.IOException
-
run
- Throws:
java.lang.Exception
-