Package edu.sc.seis.seisFile.mseed
Class Blockette1001
java.lang.Object
edu.sc.seis.seisFile.mseed.Blockette
edu.sc.seis.seisFile.mseed.DataBlockette
edu.sc.seis.seisFile.mseed.Blockette1001
- All Implemented Interfaces:
java.io.Serializable
public class Blockette1001 extends DataBlockette
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description static int
B1001_SIZE
Fields inherited from class edu.sc.seis.seisFile.mseed.DataBlockette
info, swapBytes
-
Constructor Summary
Constructors Constructor Description Blockette1001()
Blockette1001(byte[] info, boolean swapBytes)
-
Method Summary
Modifier and Type Method Description byte
getFrameCount()
byte
getMicrosecond()
java.lang.String
getName()
byte
getReserved()
int
getSize()
byte
getTimingQuality()
int
getType()
void
setFrameCount(byte v)
void
setMicrosecond(byte v)
void
setReserved(byte v)
void
setTimingQuality(byte v)
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, toBytes, trimToSize, write
Methods inherited from class edu.sc.seis.seisFile.mseed.Blockette
toString, writeASCII
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
B1001_SIZE
public static final int B1001_SIZE- See Also:
- Constant Field Values
-
-
Constructor Details
-
Blockette1001
public Blockette1001() -
Blockette1001
- Throws:
SeedFormatException
-
-
Method Details
-
getSize
public int getSize() -
getType
public int getType() -
getName
public java.lang.String getName() -
getTimingQuality
public byte getTimingQuality() -
setTimingQuality
public void setTimingQuality(byte v) -
getMicrosecond
public byte getMicrosecond() -
setMicrosecond
public void setMicrosecond(byte v) -
getReserved
public byte getReserved() -
setReserved
public void setReserved(byte v) -
getFrameCount
public byte getFrameCount() -
setFrameCount
public void setFrameCount(byte v) -
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
-