edu.sc.seis.seisFile.mseed
Class ControlRecordLengthBlockette

java.lang.Object
  extended by edu.sc.seis.seisFile.mseed.Blockette
      extended by edu.sc.seis.seisFile.mseed.ControlBlockette
          extended by 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
ControlRecordLengthBlockette(byte[] info)
           
 
Method Summary
 int getLogicalRecordLength()
           
 int getLogicalRecordLengthByte()
           
 java.lang.String getVersionOfFormat()
           
 void writeASCII(java.io.PrintWriter out)
          Writes an ASCII version of the blockette.
 void writeASCIINoNewline(java.io.PrintWriter out)
           
 
Methods inherited from class edu.sc.seis.seisFile.mseed.ControlBlockette
getSize, toBytes
 
Methods inherited from class edu.sc.seis.seisFile.mseed.Blockette
getName, getType, parseBlockette, toString, writeASCII
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ControlRecordLengthBlockette

public ControlRecordLengthBlockette(byte[] info)
Method Detail

getVersionOfFormat

public java.lang.String getVersionOfFormat()

getLogicalRecordLengthByte

public int getLogicalRecordLengthByte()
Specified by:
getLogicalRecordLengthByte in interface RecordLengthBlockette

getLogicalRecordLength

public int getLogicalRecordLength()
Specified by:
getLogicalRecordLength in interface RecordLengthBlockette

writeASCII

public void writeASCII(java.io.PrintWriter out)
                throws java.io.IOException
Description copied from class: Blockette
Writes 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:
writeASCII in class Blockette
Parameters:
out - a Writer
Throws:
java.io.IOException

writeASCIINoNewline

public void writeASCIINoNewline(java.io.PrintWriter out)
                         throws java.io.IOException
Throws:
java.io.IOException