Package edu.sc.seis.TauP
Class TauP_Version
- java.lang.Object
-
- edu.sc.seis.TauP.TauP_Tool
-
- edu.sc.seis.TauP.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.TauP_Tool
abstractOutputTypeArgs, cmdLineArgs, toolProps
-
-
Constructor Summary
Constructors Constructor Description TauP_Version()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
destroy()
java.lang.String
getOutFileExtension()
java.lang.String
getOutputFormat()
void
init()
void
printResult(java.io.PrintWriter out)
void
printResultJSON(java.io.PrintWriter out)
void
printResultText(java.io.PrintWriter out)
void
start()
void
validateArguments()
-
Methods inherited from class edu.sc.seis.TauP.TauP_Tool
call, configDefaults, endGmtAndCleanUp, getModDepthUsage, getOutFileBase, getStdUsageHead, getStdUsageTail, isDEBUG, isVerbose, setDEBUG, setOutFileBase, setOutFileExtension, setOutputFormat, setToolPropsFilename, setVerbose, toolNameFromClass
-
-
-
-
Method Detail
-
getOutputFormat
public java.lang.String getOutputFormat()
- Specified by:
getOutputFormat
in classTauP_Tool
-
getOutFileExtension
public java.lang.String getOutFileExtension()
- Overrides:
getOutFileExtension
in classTauP_Tool
-
init
public void init() throws TauPException
- Specified by:
init
in classTauP_Tool
- Throws:
TauPException
-
start
public void start() throws java.io.IOException, TauModelException, TauPException
- Specified by:
start
in classTauP_Tool
- Throws:
java.io.IOException
TauModelException
TauPException
-
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:
destroy
in classTauP_Tool
- Throws:
TauPException
-
validateArguments
public void validateArguments() throws TauModelException
- Specified by:
validateArguments
in classTauP_Tool
- Throws:
TauModelException
-
-