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, serialize
cloneViaReserialise, serialize
public 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()
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
public BackupRecord copy()
copy
in interface Duplicatable
copy
in class StandardRecord
Copyright 2020 The Apache Software Foundation or its licensors, as applicable.