Package edu.sc.seis.TauP
Class Outputs
java.lang.Object
edu.sc.seis.TauP.Outputs
public class Outputs
extends java.lang.Object
Outputs.java contains formating, similar to printf, routines for the output
types in the TauP package.
Created: Tue Sep 21 11:45:35 1999
-
Field Summary
Fields Modifier and Type Field Description protected static FormatdepthFormatprotected static FormatdistanceFormatprotected static FormatdistanceFormatNoPadprotected static FormatlatLonFormatprotected static FormatrayParamFormatprotected static FormattimeFormatprotected static FormattimeFormatNoPad -
Constructor Summary
Constructors Constructor Description Outputs() -
Method Summary
Modifier and Type Method Description static voidconfigure(java.util.Properties props)static java.lang.StringformatDepth(double depth)static java.lang.StringformatDistance(double distance)static java.lang.StringformatDistanceNoPad(double distance)static java.lang.StringformatLatLon(double latlon)static java.lang.StringformatRayParam(double rayParam)static java.lang.StringformatTime(double time)static java.lang.StringformatTimeNoPad(double time)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
depthFormat
-
distanceFormat
-
timeFormat
-
distanceFormatNoPad
-
timeFormatNoPad
-
rayParamFormat
-
latLonFormat
-
-
Constructor Details
-
Outputs
public Outputs()
-
-
Method Details
-
configure
public static void configure(java.util.Properties props) -
formatDepth
public static java.lang.String formatDepth(double depth) -
formatDistance
public static java.lang.String formatDistance(double distance) -
formatTime
public static java.lang.String formatTime(double time) -
formatDistanceNoPad
public static java.lang.String formatDistanceNoPad(double distance) -
formatTimeNoPad
public static java.lang.String formatTimeNoPad(double time) -
formatRayParam
public static java.lang.String formatRayParam(double rayParam) -
formatLatLon
public static java.lang.String formatLatLon(double latlon)
-