Package edu.sc.seis.seisFile.mseed
Class Blockette2000
java.lang.Object
edu.sc.seis.seisFile.mseed.Blockette
edu.sc.seis.seisFile.mseed.DataBlockette
edu.sc.seis.seisFile.mseed.Blockette2000
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
Fields inherited from class edu.sc.seis.seisFile.mseed.DataBlockette
info, swapBytes
-
Constructor Summary
ConstructorsConstructorDescriptionBlockette2000
(byte[] info, boolean swapBytes) Blockette2000
(String[] headerFields, byte[] opaqueData) -
Method Summary
Modifier and TypeMethodDescriptionboolean
getHeaderField
(int i) getName()
int
byte[]
int
getSize()
int
getType()
void
writeASCII
(PrintWriter out) Writes an ASCII version of the blockette.Methods inherited from class edu.sc.seis.seisFile.mseed.DataBlockette
checkMinimumSize, toBytes, toBytes, trimToSize, write
Methods inherited from class edu.sc.seis.seisFile.mseed.Blockette
toString, writeASCII
-
Constructor Details
-
Blockette2000
-
Blockette2000
- Throws:
SeedFormatException
-
-
Method Details
-
getName
-
getSize
public int getSize() -
getType
public int getType() -
getHeaderField
-
getNumHeaders
public int getNumHeaders() -
getOpaqueData
public byte[] getOpaqueData() -
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
-
equals
-