|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.sc.seis.seisFile.client.AbstractClient
edu.sc.seis.sod.tools.CommandLineTool
public class CommandLineTool
Field Summary | |
---|---|
protected boolean |
requiresStdin
|
Fields inherited from class edu.sc.seis.seisFile.client.AbstractClient |
---|
args, commandName, DEFAULT_USER_AGENT, HELP, jsap, params, result, userAgent, VERSION |
Constructor Summary | |
---|---|
CommandLineTool(java.lang.String[] args)
|
Method Summary | |
---|---|
protected void |
addParams()
|
org.apache.velocity.VelocityContext |
getContext()
|
java.io.InputStream |
getTemplate()
|
static void |
run(CommandLineTool ls)
|
boolean |
shouldPrintRecipe()
|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected boolean requiresStdin
Constructor Detail |
---|
public CommandLineTool(java.lang.String[] args) throws com.martiansoftware.jsap.JSAPException
com.martiansoftware.jsap.JSAPException
Method Detail |
---|
protected void addParams() throws com.martiansoftware.jsap.JSAPException
addParams
in class edu.sc.seis.seisFile.client.AbstractClient
com.martiansoftware.jsap.JSAPException
public org.apache.velocity.VelocityContext getContext()
public boolean shouldPrintRecipe()
public java.io.InputStream getTemplate() throws java.io.IOException
java.io.IOException
public static void run(CommandLineTool ls) throws java.lang.Exception
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |