edu.sc.seis.seisFile.mseed
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
Methods inherited from class edu.sc.seis.seisFile.mseed.SeedRecord |
addBlockette, getBlocketteFactory, getBlockettes, getBlockettes, getControlHeader, getFirstPartialBlockette, getLastPartialBlockette, getNumBlockettes, getRecordSize, getUniqueBlockette, read, read, read, setBlocketteFactory, toString, writeASCII, writeASCII |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
THREESPACE
public static final java.lang.String THREESPACE
- See Also:
- Constant Field Values
ControlRecord
public ControlRecord(ControlHeader header)
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