edu.sc.seis.seisFile.mseed
Class MiniSeedRead
java.lang.Object
edu.sc.seis.seisFile.mseed.MiniSeedRead
- Direct Known Subclasses:
- MultiFileMSeedRead
public class MiniSeedRead
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
numRead
protected int numRead
inStream
protected java.io.DataInput inStream
recordSize
protected int recordSize
readData
protected boolean readData
MiniSeedRead
protected MiniSeedRead()
MiniSeedRead
public MiniSeedRead(java.io.DataInput inStream)
throws java.io.IOException
- Throws:
java.io.IOException
close
public void close()
throws java.io.IOException
- Throws:
java.io.IOException
getNextRecord
public DataRecord getNextRecord()
throws SeedFormatException,
java.io.IOException
- gets the next logical record int the seed volume. This may not exactly
correspond to the logical record structure within the volume as
"continued" records will be concatinated to avoid partial blockettes.
- Throws:
SeedFormatException
java.io.IOException
getNextRecord
public DataRecord getNextRecord(int defaultRecordSize)
throws SeedFormatException,
java.io.IOException
- gets the next logical record int the seed volume. This may not exactly
correspond to the logical record structure within the volume as
"continued" records will be concatinated to avoid partial blockettes.
- Throws:
SeedFormatException
java.io.IOException
getNumRecordsRead
public int getNumRecordsRead()
main
public static void main(java.lang.String[] args)