edu.sc.seis.seisFile.mseed
Class PartialBlockette
java.lang.Object
edu.sc.seis.seisFile.mseed.Blockette
edu.sc.seis.seisFile.mseed.BlocketteUnknown
edu.sc.seis.seisFile.mseed.PartialBlockette
public class PartialBlockette
- extends BlocketteUnknown
Constructor Summary |
PartialBlockette(int type,
byte[] info,
boolean swapBytes,
int priorBytes,
int totalBytes)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PartialBlockette
public PartialBlockette(int type,
byte[] info,
boolean swapBytes,
int priorBytes,
int totalBytes)
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.
- Overrides:
writeASCII
in class BlocketteUnknown
- Parameters:
out
- a Writer
- Throws:
java.io.IOException
isBegin
public boolean isBegin()
isEnd
public boolean isEnd()
getTotalSize
public int getTotalSize()
getPriorSize
public int getPriorSize()
getSoFarSize
public int getSoFarSize()
getBytesRead
public int getBytesRead()