Package edu.sc.seis.TauP.cmdline
Class TauP_Version
- java.lang.Object
-
- edu.sc.seis.TauP.cmdline.TauP_Tool
-
- edu.sc.seis.TauP.cmdline.TauP_Version
-
- All Implemented Interfaces:
java.util.concurrent.Callable<java.lang.Integer>
public class TauP_Version extends TauP_Tool
-
-
Field Summary
-
Fields inherited from class edu.sc.seis.TauP.cmdline.TauP_Tool
ABREV_SYNOPSIS, abstractOutputTypeArgs, OPTIONS_HEADING, toolProps
-
-
Constructor Summary
Constructors Constructor Description TauP_Version()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroy()java.lang.StringgetOutFileExtension()java.lang.StringgetOutputFormat()voidinit()voidprintResult(java.io.PrintWriter out)voidprintResultJSON(java.io.PrintWriter out)voidprintResultText(java.io.PrintWriter out)voidstart()voidvalidateArguments()-
Methods inherited from class edu.sc.seis.TauP.cmdline.TauP_Tool
call, configDefaults, getCmdLineArgs, isDEBUG, isVerbose, setDEBUG, setOutFileBase, setOutFileExtension, setOutputFormat, setToolPropsFilename, setVerbose, toolNameFromClass
-
-
-
-
Method Detail
-
getOutputFormat
public java.lang.String getOutputFormat()
- Specified by:
getOutputFormatin classTauP_Tool
-
getOutFileExtension
public java.lang.String getOutFileExtension()
- Overrides:
getOutFileExtensionin classTauP_Tool
-
init
public void init() throws TauPException- Specified by:
initin classTauP_Tool- Throws:
TauPException
-
start
public void start() throws java.io.IOException, TauPException- Specified by:
startin classTauP_Tool- Throws:
java.io.IOExceptionTauPException
-
printResult
public void printResult(java.io.PrintWriter out) throws java.io.IOException- Throws:
java.io.IOException
-
printResultText
public void printResultText(java.io.PrintWriter out)
-
printResultJSON
public void printResultJSON(java.io.PrintWriter out)
-
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
-
-