Package edu.sc.seis.seisFile.mseed
Class Blockette1000
java.lang.Object
edu.sc.seis.seisFile.mseed.Blockette
edu.sc.seis.seisFile.mseed.DataBlockette
edu.sc.seis.seisFile.mseed.Blockette1000
- All Implemented Interfaces:
RecordLengthBlockette
,Serializable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final byte
static final byte
Fields inherited from class edu.sc.seis.seisFile.mseed.DataBlockette
info, swapBytes
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
Get the value of dataRecordLengthByte.byte
Get the value of dataRecordLengthByte.byte
Get the value of encodingFormat.int
int
getName()
byte
Get the value of reserved.int
getSize()
int
getType()
byte
Get the value of wordOrder.boolean
boolean
void
setDataRecordLength
(byte v) Set the value of dataRecordLength.void
setEncodingFormat
(byte v) Set the value of encodingFormat.void
setReserved
(byte v) Set the value of reserved.void
setWordOrder
(byte v) Set the value of wordOrder.toString()
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
writeASCII
-
Field Details
-
B1000_SIZE
public static final int B1000_SIZE- See Also:
-
SEED_BIG_ENDIAN
public static final byte SEED_BIG_ENDIAN- See Also:
-
SEED_LITTLE_ENDIAN
public static final byte SEED_LITTLE_ENDIAN- See Also:
-
-
Constructor Details
-
Blockette1000
public Blockette1000() -
Blockette1000
- Throws:
SeedFormatException
-
-
Method Details
-
getSize
public int getSize() -
getType
public int getType() -
getName
-
getEncodingFormat
public byte getEncodingFormat()Get the value of encodingFormat.- Returns:
- Value of encodingFormat.
-
setEncodingFormat
public void setEncodingFormat(byte v) Set the value of encodingFormat.- Parameters:
v
- Value to assign to encodingFormat.
-
getWordOrder
public byte getWordOrder()Get the value of wordOrder.- Returns:
- Value of wordOrder.
-
setWordOrder
public void setWordOrder(byte v) Set the value of wordOrder.- Parameters:
v
- Value to assign to wordOrder.
-
isBigEndian
public boolean isBigEndian() -
isLittleEndian
public boolean isLittleEndian() -
getLogicalRecordLengthByte
public int getLogicalRecordLengthByte()- Specified by:
getLogicalRecordLengthByte
in interfaceRecordLengthBlockette
-
getLogicalRecordLength
public int getLogicalRecordLength()- Specified by:
getLogicalRecordLength
in interfaceRecordLengthBlockette
-
getDataRecordLengthByte
public byte getDataRecordLengthByte()Get the value of dataRecordLengthByte.- Returns:
- Value of dataRecordLengthByte.
-
getDataRecordLength
public int getDataRecordLength()Get the value of dataRecordLengthByte.- Returns:
- Value of dataRecordLengthByte.
-
setDataRecordLength
public void setDataRecordLength(byte v) Set the value of dataRecordLength.- Parameters:
v
- Value to assign to dataRecordLength.
-
getReserved
public byte getReserved()Get the value of reserved.- Returns:
- Value of reserved.
-
setReserved
public void setReserved(byte v) Set the value of reserved.- Parameters:
v
- Value to assign to reserved.
-
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
-
toString
-