Package edu.sc.seis.seisFile.mseed
Class ControlRecordLengthBlockette
java.lang.Object
edu.sc.seis.seisFile.mseed.Blockette
edu.sc.seis.seisFile.mseed.ControlBlockette
edu.sc.seis.seisFile.mseed.ControlRecordLengthBlockette
- All Implemented Interfaces:
RecordLengthBlockette
- Direct Known Subclasses:
Blockette10,Blockette5,Blockette8
public abstract class ControlRecordLengthBlockette extends ControlBlockette implements RecordLengthBlockette
-
Constructor Summary
Constructors Constructor Description ControlRecordLengthBlockette(byte[] info) -
Method Summary
Modifier and Type Method Description intgetLogicalRecordLength()intgetLogicalRecordLengthByte()java.lang.StringgetVersionOfFormat()voidwriteASCII(java.io.PrintWriter out)Writes an ASCII version of the blockette.voidwriteASCIINoNewline(java.io.PrintWriter out)Methods inherited from class edu.sc.seis.seisFile.mseed.ControlBlockette
getSize, toBytesMethods inherited from class edu.sc.seis.seisFile.mseed.Blockette
getName, getType, toString, writeASCIIMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
ControlRecordLengthBlockette
public ControlRecordLengthBlockette(byte[] info)
-
-
Method Details
-
getVersionOfFormat
public java.lang.String getVersionOfFormat() -
getLogicalRecordLengthByte
public int getLogicalRecordLengthByte()- Specified by:
getLogicalRecordLengthBytein interfaceRecordLengthBlockette
-
getLogicalRecordLength
public int getLogicalRecordLength()- Specified by:
getLogicalRecordLengthin interfaceRecordLengthBlockette
-
writeASCII
public void writeASCII(java.io.PrintWriter out)Description copied from class:BlocketteWrites an ASCII version of the blockette. This is not meant to be a definitive ascii representation, merely to give something to print for debugging purposes. Ideally each field of each blockette should be printed in the order they appear in the blockette in a visually appealing way.- Specified by:
writeASCIIin classBlockette- Parameters:
out- a Writer
-
writeASCIINoNewline
public void writeASCIINoNewline(java.io.PrintWriter out)
-