Package edu.sc.seis.seisFile.mseed
Class Blockette100
- java.lang.Object
-
- edu.sc.seis.seisFile.mseed.Blockette
-
- edu.sc.seis.seisFile.mseed.DataBlockette
-
- edu.sc.seis.seisFile.mseed.Blockette100
-
- All Implemented Interfaces:
java.io.Serializable
public class Blockette100 extends DataBlockette
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static intB100_SIZE-
Fields inherited from class edu.sc.seis.seisFile.mseed.DataBlockette
info, swapBytes
-
-
Constructor Summary
Constructors Constructor Description Blockette100()Blockette100(byte[] info, boolean swapBytes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description floatgetActualSampleRate()java.lang.StringgetName()intgetSize()intgetType()voidsetActualSampleRate(float actualSampleRate)voidwriteASCII(java.io.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
-
-
-
-
Field Detail
-
B100_SIZE
public static final int B100_SIZE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Blockette100
public Blockette100()
-
Blockette100
public Blockette100(byte[] info, boolean swapBytes) throws SeedFormatException- Throws:
SeedFormatException
-
-
Method Detail
-
setActualSampleRate
public void setActualSampleRate(float actualSampleRate)
-
getActualSampleRate
public float getActualSampleRate()
-
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.- Specified by:
writeASCIIin classBlockette- Parameters:
out- a Writer
-
-