edu.sc.seis.seisFile.mseed
Class MiniSeedRead

java.lang.Object
  extended by edu.sc.seis.seisFile.mseed.MiniSeedRead
Direct Known Subclasses:
MultiFileMSeedRead

public class MiniSeedRead
extends java.lang.Object


Field Summary
protected  java.io.DataInput inStream
           
protected  int numRead
           
protected  boolean readData
           
protected  int recordSize
           
 
Constructor Summary
protected MiniSeedRead()
           
  MiniSeedRead(java.io.DataInput inStream)
           
 
Method Summary
 void close()
           
 DataRecord getNextRecord()
          gets the next logical record int the seed volume.
 DataRecord getNextRecord(int defaultRecordSize)
          gets the next logical record int the seed volume.
 int getNumRecordsRead()
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

numRead

protected int numRead

inStream

protected java.io.DataInput inStream

recordSize

protected int recordSize

readData

protected boolean readData
Constructor Detail

MiniSeedRead

protected MiniSeedRead()

MiniSeedRead

public MiniSeedRead(java.io.DataInput inStream)
             throws java.io.IOException
Throws:
java.io.IOException
Method Detail

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)