Class TauP_Tool

    • Method Detail

      • call

        public java.lang.Integer call()
                               throws java.lang.Exception
        Computes a result, or throws an exception if unable to do so.
        Specified by:
        call in interface java.util.concurrent.Callable<java.lang.Integer>
        Returns:
        computed result
        Throws:
        java.lang.Exception - if unable to compute a result
      • setDEBUG

        public void setDEBUG​(boolean debug)
        Turns on debugging output.
      • isDEBUG

        public boolean isDEBUG()
      • setVerbose

        public void setVerbose​(boolean verbose)
        Turns on verbose output.
      • isVerbose

        public boolean isVerbose()
      • getCmdLineArgs

        public java.util.List<java.lang.String> getCmdLineArgs()
      • configDefaults

        public static java.util.Properties configDefaults()
      • getOutputFormat

        public abstract java.lang.String getOutputFormat()
      • setOutputFormat

        public void setOutputFormat​(java.lang.String val)
        usually one of TEXT or JSON. Subclasses may add additional types, for example CSV, GMT or SVG.
        Parameters:
        val - output format for results
      • setOutFileBase

        public void setOutFileBase​(java.lang.String outFileBase)
      • getOutFileExtension

        public java.lang.String getOutFileExtension()
      • setOutFileExtension

        public void setOutFileExtension​(java.lang.String outFileExtension)
      • setToolPropsFilename

        public void setToolPropsFilename​(java.lang.String filename)
                                  throws java.io.IOException
        Throws:
        java.io.IOException
      • toolNameFromClass

        public static java.lang.String toolNameFromClass​(java.lang.Class toolClass)