edu.sc.seis.seisFile.mseed
Class BlocketteUnknown

java.lang.Object
  extended by edu.sc.seis.seisFile.mseed.Blockette
      extended by edu.sc.seis.seisFile.mseed.BlocketteUnknown
Direct Known Subclasses:
PartialBlockette

public class BlocketteUnknown
extends Blockette


Field Summary
protected  byte[] info
           
protected  boolean swapBytes
           
protected  int type
           
 
Constructor Summary
BlocketteUnknown(byte[] info, int type, boolean swapBytes)
           
 
Method Summary
 int calcSize()
           
 java.lang.String getName()
           
 int getSize()
           
 boolean getSwapBytes()
           
 int getType()
           
 byte[] toBytes()
           
 void writeASCII(java.io.PrintWriter out)
          Writes an ASCII version of the blockette.
 
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

type

protected int type

info

protected byte[] info

swapBytes

protected boolean swapBytes
Constructor Detail

BlocketteUnknown

public BlocketteUnknown(byte[] info,
                        int type,
                        boolean swapBytes)
Method Detail

getType

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

getName

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

getSize

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

calcSize

public int calcSize()

toBytes

public byte[] toBytes()
Specified by:
toBytes in class Blockette

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

getSwapBytes

public boolean getSwapBytes()