edu.sc.seis.seisFile.mseed
Class MultiFileMSeedRead

java.lang.Object
  extended by edu.sc.seis.seisFile.mseed.MiniSeedRead
      extended by edu.sc.seis.seisFile.mseed.MultiFileMSeedRead

public class MultiFileMSeedRead
extends MiniSeedRead


Field Summary
 
Fields inherited from class edu.sc.seis.seisFile.mseed.MiniSeedRead
inStream, numRead, readData, recordSize
 
Constructor Summary
MultiFileMSeedRead(java.io.File[] files)
           
 
Method Summary
 void close()
           
 DataRecord getNextRecord()
          gets the next logical record int the seed volume.
 int getNumRecordsRead()
           
protected  void initNextFile()
           
 
Methods inherited from class edu.sc.seis.seisFile.mseed.MiniSeedRead
getNextRecord, main
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiFileMSeedRead

public MultiFileMSeedRead(java.io.File[] files)
                   throws java.io.IOException
Throws:
java.io.IOException
Method Detail

close

public void close()
           throws java.io.IOException
Overrides:
close in class MiniSeedRead
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.

Overrides:
getNextRecord in class MiniSeedRead
Throws:
SeedFormatException
java.io.IOException

getNumRecordsRead

public int getNumRecordsRead()
Overrides:
getNumRecordsRead in class MiniSeedRead

initNextFile

protected void initNextFile()
                     throws java.io.IOException
Throws:
java.io.IOException