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.
- Version:
- 1.1.3 Wed Jul 18 15:00:35 GMT 2001
- Author:
- H. Philip Crotwell
Field Summary |
protected static java.lang.String |
packageName
|
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 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
packageName
protected static java.lang.String packageName
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.
- Throws:
java.io.FileNotFoundException
java.lang.ClassNotFoundException
java.io.InvalidClassException
java.io.IOException
java.io.StreamCorruptedException
java.io.OptionalDataException
Copyright © 1999-2006 Seismology at the University of South Carolina. All Rights Reserved.