public class Blockette1000 extends DataBlockette implements RecordLengthBlockette
| Modifier and Type | Field and Description |
|---|---|
static int |
B1000_SIZE |
info, swapBytes| Constructor and Description |
|---|
Blockette1000() |
Blockette1000(byte[] info,
boolean swapBytes) |
| Modifier and Type | Method and Description |
|---|---|
int |
getDataRecordLength()
Get the value of dataRecordLengthByte.
|
byte |
getDataRecordLengthByte()
Get the value of dataRecordLengthByte.
|
byte |
getEncodingFormat()
Get the value of encodingFormat.
|
int |
getLogicalRecordLength() |
int |
getLogicalRecordLengthByte() |
java.lang.String |
getName() |
byte |
getReserved()
Get the value of reserved.
|
int |
getSize() |
int |
getType() |
byte |
getWordOrder()
Get the value of wordOrder.
|
boolean |
isBigEndian() |
boolean |
isLittleEndian() |
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.
|
java.lang.String |
toString() |
void |
writeASCII(java.io.PrintWriter out)
Writes an ASCII version of the blockette.
|
toBytes, toBytes, trimToSize, writeparseBlockette, writeASCIIpublic static final int B1000_SIZE
public Blockette1000()
public Blockette1000(byte[] info,
boolean swapBytes)
throws SeedFormatException
SeedFormatExceptionpublic byte getEncodingFormat()
public void setEncodingFormat(byte v)
v - Value to assign to encodingFormat.public byte getWordOrder()
public void setWordOrder(byte v)
v - Value to assign to wordOrder.public boolean isBigEndian()
public boolean isLittleEndian()
public int getLogicalRecordLengthByte()
getLogicalRecordLengthByte in interface RecordLengthBlockettepublic int getLogicalRecordLength()
getLogicalRecordLength in interface RecordLengthBlockettepublic byte getDataRecordLengthByte()
public int getDataRecordLength()
public void setDataRecordLength(byte v)
v - Value to assign to dataRecordLength.public byte getReserved()
public void setReserved(byte v)
v - Value to assign to reserved.public void writeASCII(java.io.PrintWriter out)
BlockettewriteASCII in class Blocketteout - a Writer