public final class UnitsRecord extends StandardRecord
Modifier and Type | Field and Description |
---|---|
static short |
sid |
Constructor and Description |
---|
UnitsRecord() |
UnitsRecord(RecordInputStream in) |
UnitsRecord(UnitsRecord other) |
Modifier and Type | Method and Description |
---|---|
UnitsRecord |
clone()
Deprecated.
|
UnitsRecord |
copy() |
protected int |
getDataSize() |
short |
getSid()
return the non static version of the id for this record.
|
short |
getUnits()
Get the units field for the Units record.
|
void |
serialize(LittleEndianOutput out)
Write the data content of this BIFF record.
|
void |
setUnits(short field_1_units)
Set the units field for the Units record.
|
java.lang.String |
toString()
get a string representation of the record (for biffview/debugging)
|
getRecordSize, serialize
cloneViaReserialise, serialize
public static final short sid
public UnitsRecord()
public UnitsRecord(UnitsRecord other)
public UnitsRecord(RecordInputStream in)
public java.lang.String toString()
Record
public void serialize(LittleEndianOutput out)
StandardRecord
The number of bytes written must equal the record size reported by
RecordBase.getRecordSize()
} minus four (
record header consisting of a 'ushort sid' and 'ushort reclength' has
already been written by their superclass).
serialize
in class StandardRecord
out
- the output objectprotected int getDataSize()
getDataSize
in class StandardRecord
public short getSid()
Record
@Deprecated @Removal(version="5.0.0") public UnitsRecord clone()
clone
in class java.lang.Object
public UnitsRecord copy()
copy
in interface Duplicatable
copy
in class StandardRecord
public short getUnits()
public void setUnits(short field_1_units)
Copyright 2020 The Apache Software Foundation or its licensors, as applicable.