edu.sc.seis.seisFile.mseed
Class Blockette100

java.lang.Object
  extended by edu.sc.seis.seisFile.mseed.Blockette
      extended by edu.sc.seis.seisFile.mseed.DataBlockette
          extended by edu.sc.seis.seisFile.mseed.Blockette100
All Implemented Interfaces:
java.io.Serializable

public class Blockette100
extends DataBlockette

See Also:
Serialized Form

Field Summary
static int B100_SIZE
           
 
Fields inherited from class edu.sc.seis.seisFile.mseed.DataBlockette
info, swapBytes
 
Constructor Summary
Blockette100()
           
Blockette100(byte[] info, boolean swapBytes)
           
 
Method Summary
 float getActualSampleRate()
           
 java.lang.String getName()
           
 int getSize()
           
 int getType()
           
 void setActualSampleRate(float actualSampleRate)
           
 void writeASCII(java.io.PrintWriter out)
          Writes an ASCII version of the blockette.
 
Methods inherited from class edu.sc.seis.seisFile.mseed.DataBlockette
toBytes, toBytes, trimToSize, write
 
Methods inherited from class edu.sc.seis.seisFile.mseed.Blockette
parseBlockette, toString, writeASCII
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

B100_SIZE

public static final int B100_SIZE
See Also:
Constant Field Values
Constructor Detail

Blockette100

public Blockette100()

Blockette100

public Blockette100(byte[] info,
                    boolean swapBytes)
             throws SeedFormatException
Throws:
SeedFormatException
Method Detail

setActualSampleRate

public void setActualSampleRate(float actualSampleRate)

getActualSampleRate

public float getActualSampleRate()

getType

public int getType()
Specified by:
getType in class Blockette

getSize

public int getSize()
Specified by:
getSize in class Blockette

getName

public java.lang.String getName()
Specified by:
getName in class Blockette

writeASCII

public void writeASCII(java.io.PrintWriter out)
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