edu.sc.seis.seisFile.mseed
Class Blockette1001

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.Blockette1001
All Implemented Interfaces:
java.io.Serializable

public class Blockette1001
extends DataBlockette

See Also:
Serialized Form

Field Summary
static int B1001_SIZE
           
 
Fields inherited from class edu.sc.seis.seisFile.mseed.DataBlockette
info, swapBytes
 
Constructor Summary
Blockette1001()
           
Blockette1001(byte[] info, boolean swapBytes)
           
 
Method Summary
 byte getFrameCount()
           
 byte getMicrosecond()
           
 java.lang.String getName()
           
 byte getReserved()
           
 int getSize()
           
 byte getTimingQuality()
           
 int getType()
           
 void setFrameCount(byte v)
           
 void setMicrosecond(byte v)
           
 void setReserved(byte v)
           
 void setTimingQuality(byte v)
           
 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

B1001_SIZE

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

Blockette1001

public Blockette1001()

Blockette1001

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

getSize

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

getType

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

getName

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

getTimingQuality

public byte getTimingQuality()

setTimingQuality

public void setTimingQuality(byte v)

getMicrosecond

public byte getMicrosecond()

setMicrosecond

public void setMicrosecond(byte v)

getReserved

public byte getReserved()

setReserved

public void setReserved(byte v)

getFrameCount

public byte getFrameCount()

setFrameCount

public void setFrameCount(byte v)

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