public final class BackupRecord extends StandardRecord
| Modifier and Type | Field and Description |
|---|---|
static short |
sid |
| Constructor and Description |
|---|
BackupRecord() |
BackupRecord(BackupRecord other) |
BackupRecord(RecordInputStream in) |
| Modifier and Type | Method and Description |
|---|---|
BackupRecord |
copy() |
short |
getBackup()
get the backup flag
|
protected int |
getDataSize() |
short |
getSid()
return the non static version of the id for this record.
|
void |
serialize(LittleEndianOutput out)
Write the data content of this BIFF record.
|
void |
setBackup(short backup)
set the backup flag (0,1)
|
java.lang.String |
toString()
get a string representation of the record (for biffview/debugging)
|
getRecordSize, serializecloneViaReserialise, serializepublic static final short sid
public BackupRecord()
public BackupRecord(BackupRecord other)
public BackupRecord(RecordInputStream in)
public void setBackup(short backup)
backup - backup flagpublic short getBackup()
public java.lang.String toString()
Recordpublic 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 StandardRecordout - the output objectprotected int getDataSize()
getDataSize in class StandardRecordpublic short getSid()
Recordpublic BackupRecord copy()
copy in interface Duplicatablecopy in class StandardRecord