Package 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
-
Field Summary
-
Constructor Summary
Constructors Constructor Description PartialBlockette(int type, byte[] info, boolean swapBytes, int priorBytes, int totalBytes)
-
Method Summary
Modifier and Type Method Description static PartialBlockette
combine(PartialBlockette first, PartialBlockette second)
int
getBytesRead()
int
getPriorSize()
int
getSoFarSize()
int
getTotalSize()
boolean
isBegin()
boolean
isEnd()
void
writeASCII(java.io.PrintWriter out)
Writes an ASCII version of the blockette.Methods inherited from class edu.sc.seis.seisFile.mseed.BlocketteUnknown
calcSize, getName, getSize, getSwapBytes, getType, toBytes
Methods inherited from class edu.sc.seis.seisFile.mseed.Blockette
parseBlockette, toString, writeASCII
-
Constructor Details
-
PartialBlockette
public PartialBlockette(int type, byte[] info, boolean swapBytes, int priorBytes, int totalBytes)
-
-
Method Details
-
combine
-
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.- Overrides:
writeASCII
in classBlocketteUnknown
- Parameters:
out
- a Writer
-
isBegin
public boolean isBegin() -
isEnd
public boolean isEnd() -
getTotalSize
public int getTotalSize() -
getPriorSize
public int getPriorSize() -
getSoFarSize
public int getSoFarSize() -
getBytesRead
public int getBytesRead()
-