Package edu.sc.seis.TauP
Class TauP_Version
- java.lang.Object
-
- edu.sc.seis.TauP.TauP_Tool
-
- edu.sc.seis.TauP.TauP_Version
-
public class TauP_Version extends TauP_Tool
-
-
Field Summary
-
Fields inherited from class edu.sc.seis.TauP.TauP_Tool
cmdLineArgs, CSV, DEBUG, GMT, JSON, outFileBase, outForms, outputFormat, SVG, TEXT, toolProps, verbose, writer
-
-
Constructor Summary
Constructors Constructor Description TauP_Version()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String[]allowedOutputFormats()voiddestroy()java.lang.StringgetUsage()voidinit()protected java.lang.String[]parseCmdLineArgs(java.lang.String[] origArgs)voidprintResult(java.io.PrintWriter out)voidprintResultJSON(java.io.PrintWriter out)voidprintResultText(java.io.PrintWriter out)voidsetDefaultOutputFormat()voidstart()voidvalidateArguments()-
Methods inherited from class edu.sc.seis.TauP.TauP_Tool
closeWriter, configDefaults, dashEquals, endGmtAndCleanUp, getModDepthUsage, getOutFile, getOutFileBase, getOutFileExtension, getOutputFormat, getStdUsageHead, getStdUsageTail, getWriter, parseCommonCmdLineArgs, printNoComprendoArgs, printScriptBeginning, printUsage, setOutFileBase, setOutFileExtension, setOutputFormat, setWriter, toolNameFromClass
-
-
-
-
Method Detail
-
allowedOutputFormats
public java.lang.String[] allowedOutputFormats()
- Specified by:
allowedOutputFormatsin classTauP_Tool
-
setDefaultOutputFormat
public void setDefaultOutputFormat()
- Specified by:
setDefaultOutputFormatin classTauP_Tool
-
parseCmdLineArgs
protected java.lang.String[] parseCmdLineArgs(java.lang.String[] origArgs) throws java.io.IOException- Specified by:
parseCmdLineArgsin classTauP_Tool- Throws:
java.io.IOException
-
init
public void init() throws TauPException- Specified by:
initin classTauP_Tool- Throws:
TauPException
-
start
public void start() throws java.io.IOException, TauModelException, TauPException- Specified by:
startin classTauP_Tool- Throws:
java.io.IOExceptionTauModelExceptionTauPException
-
printResult
public void printResult(java.io.PrintWriter out) throws java.io.IOException- Throws:
java.io.IOException
-
printResultText
public void printResultText(java.io.PrintWriter out) throws java.io.IOException- Throws:
java.io.IOException
-
printResultJSON
public void printResultJSON(java.io.PrintWriter out) throws java.io.IOException- Throws:
java.io.IOException
-
destroy
public void destroy() throws TauPException- Specified by:
destroyin classTauP_Tool- Throws:
TauPException
-
validateArguments
public void validateArguments() throws TauModelException- Specified by:
validateArgumentsin classTauP_Tool- Throws:
TauModelException
-
-