edu.sc.seis.TauP
Class TauModelLoader
java.lang.Object
|
+--edu.sc.seis.TauP.TauModelLoader
- public class TauModelLoader
- extends java.lang.Object
static class that loads a tau model, after searching for it. It can
be extended to change the search mechanism.
Method Summary |
static TauModel |
load(java.lang.String modelName,
java.lang.String searchPath)
Reads the velocity model, slowness model, and tau model from
a file saved using Java's Serializable interface. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TauModelLoader
public TauModelLoader()
load
public static TauModel load(java.lang.String modelName,
java.lang.String searchPath)
throws java.io.FileNotFoundException,
java.lang.ClassNotFoundException,
java.io.InvalidClassException,
java.io.IOException,
java.io.StreamCorruptedException,
java.io.OptionalDataException
- Reads the velocity model, slowness model, and tau model from
a file saved using Java's Serializable interface.