Package 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
-
Field Summary
FieldsFields inherited from class edu.sc.seis.seisFile.mseed.SeedRecord
blocketteFactory, blockettes, DEFAULT_INDENT, header, RECORD_SIZE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ControlRecord
readControlRecord
(DataInput inStream, ControlHeader header, int defaultRecordSize) Reads the next control record from the stream.static ControlRecord
readSingleControlRecord
(DataInput inStream, ControlHeader header, int defaultRecordSize, PartialBlockette partialBlockette) void
setRecordSize
(int recordSize) 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
-
Field Details
-
THREESPACE
- See Also:
-
-
Constructor Details
-
ControlRecord
-
-
Method Details
-
readControlRecord
public static ControlRecord readControlRecord(DataInput inStream, ControlHeader header, int defaultRecordSize) throws 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:
IOException
SeedFormatException
-
readSingleControlRecord
public static ControlRecord readSingleControlRecord(DataInput inStream, ControlHeader header, int defaultRecordSize, PartialBlockette partialBlockette) throws IOException, SeedFormatException - Throws:
IOException
SeedFormatException
-
setRecordSize
- Throws:
SeedFormatException
-