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
-
Fields inherited from class edu.sc.seis.seisFile.mseed.BlocketteUnknown
info, swapBytes, type
-
-
Constructor Summary
Constructors Constructor Description PartialBlockette(int type, byte[] info, boolean swapBytes, int priorBytes, int totalBytes)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PartialBlockettecombine(PartialBlockette first, PartialBlockette second)intgetBytesRead()intgetPriorSize()intgetSoFarSize()intgetTotalSize()booleanisBegin()booleanisEnd()voidwriteASCII(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
toString, writeASCII
-
-
-
-
Method Detail
-
combine
public static PartialBlockette combine(PartialBlockette first, PartialBlockette second)
-
writeASCII
public void writeASCII(java.io.PrintWriter out)
Description copied from class:BlocketteWrites 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:
writeASCIIin 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()
-
-