Class ControlRecord

java.lang.Object
edu.sc.seis.seisFile.mseed.SeedRecord
edu.sc.seis.seisFile.mseed.ControlRecord
Direct Known Subclasses:
ContinuedControlRecord

public class ControlRecord
extends SeedRecord
  • Field Details

  • Constructor Details

  • Method Details

    • readControlRecord

      public static ControlRecord readControlRecord​(java.io.DataInput inStream, ControlHeader header, int defaultRecordSize) throws java.io.IOException, SeedFormatException
      Reads the next control record from the stream. If the record continues, ie a blockette is too big to fit in the record, then the following record will be read recursively and combined with the current.
      Parameters:
      inStream -
      header -
      defaultRecordSize -
      Returns:
      Throws:
      java.io.IOException
      SeedFormatException
    • readSingleControlRecord

      public static ControlRecord readSingleControlRecord​(java.io.DataInput inStream, ControlHeader header, int defaultRecordSize, PartialBlockette partialBlockette) throws java.io.IOException, SeedFormatException
      Throws:
      java.io.IOException
      SeedFormatException
    • setRecordSize

      public void setRecordSize​(int recordSize) throws SeedFormatException
      Throws:
      SeedFormatException