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, serializecloneViaReserialise, getSid, serialize, toStringprotected 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 StandardRecordout - the output objectprotected final int getDataSize()
getDataSize in class StandardRecordpublic abstract HeaderFooterBase copy()
copy in interface Duplicatablecopy in class StandardRecordCopyright 2020 The Apache Software Foundation or its licensors, as applicable.