public abstract class HeaderFooterBase extends StandardRecord
Modifier | Constructor and Description |
---|---|
protected |
HeaderFooterBase(RecordInputStream in) |
protected |
HeaderFooterBase(java.lang.String text) |
Modifier and Type | Method and Description |
---|---|
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
protected HeaderFooterBase(java.lang.String text)
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
Copyright 2018 The Apache Software Foundation or its licensors, as applicable.