public abstract class HeaderFooterBase extends StandardRecord
Modifier | Constructor and Description |
---|---|
protected |
HeaderFooterBase(HeaderFooterBase other) |
protected |
HeaderFooterBase(RecordInputStream in) |
protected |
HeaderFooterBase(java.lang.String text) |
Modifier and Type | Method and Description |
---|---|
abstract HeaderFooterBase |
copy() |
protected int |
getDataSize() |
java.lang.String |
getText() |
void |
serialize(LittleEndianOutput out)
Write the data content of this BIFF record.
|
void |
setText(java.lang.String text)
set the footer string
|
getRecordSize, serialize
cloneViaReserialise, getSid, serialize, toString
protected HeaderFooterBase(java.lang.String text)
protected HeaderFooterBase(HeaderFooterBase other)
protected HeaderFooterBase(RecordInputStream in)
public final void setText(java.lang.String text)
text
- string to displaypublic final java.lang.String getText()
public final 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 final int getDataSize()
getDataSize
in class StandardRecord
public abstract HeaderFooterBase copy()
copy
in interface Duplicatable
copy
in class StandardRecord
Copyright 2020 The Apache Software Foundation or its licensors, as applicable.