Package edu.sc.seis.seisFile.mseed
Class DataBlocketteUnknown
java.lang.Object
edu.sc.seis.seisFile.mseed.Blockette
edu.sc.seis.seisFile.mseed.DataBlockette
edu.sc.seis.seisFile.mseed.DataBlocketteUnknown
- All Implemented Interfaces:
java.io.Serializable
public class DataBlocketteUnknown extends DataBlockette
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description protected int
type
-
Constructor Summary
Constructors Constructor Description DataBlocketteUnknown(byte[] info, int type, boolean swapBytes)
-
Method Summary
Modifier and Type Method Description 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.DataBlockette
checkMinimumSize, toBytes, trimToSize, write
Methods inherited from class edu.sc.seis.seisFile.mseed.Blockette
parseBlockette, toString, writeASCII
-
Field Details
-
type
protected int type
-
-
Constructor Details
-
DataBlocketteUnknown
public DataBlocketteUnknown(byte[] info, int type, boolean swapBytes)
-
-
Method Details
-
getType
public int getType() -
getName
public java.lang.String getName() -
getSize
public int getSize() -
toBytes
public byte[] toBytes()- Overrides:
toBytes
in classDataBlockette
-
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.- Specified by:
writeASCII
in classBlockette
- Parameters:
out
- a Writer
-
getSwapBytes
public boolean getSwapBytes()
-