Package edu.sc.seis.seisFile.mseed
Class BlocketteUnknown
java.lang.Object
edu.sc.seis.seisFile.mseed.Blockette
edu.sc.seis.seisFile.mseed.BlocketteUnknown
- Direct Known Subclasses:
PartialBlockette
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
calcSize()
getName()
int
getSize()
boolean
int
getType()
byte[]
toBytes()
void
writeASCII
(PrintWriter out) Writes an ASCII version of the blockette.Methods inherited from class edu.sc.seis.seisFile.mseed.Blockette
toString, writeASCII
-
Field Details
-
type
protected int type -
info
protected byte[] info -
swapBytes
protected boolean swapBytes
-
-
Constructor Details
-
BlocketteUnknown
public BlocketteUnknown(byte[] info, int type, boolean swapBytes)
-
-
Method Details
-
getType
public int getType() -
getName
-
getSize
public int getSize() -
calcSize
public int calcSize() -
toBytes
public byte[] toBytes() -
writeASCII
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 classBlockette
- Parameters:
out
- a Writer
-
getSwapBytes
public boolean getSwapBytes()
-