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.util.Map<java.lang.String,java.util.function.Supplier<?>> |
getGenericProperties() |
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, getGenericRecordType, getSid, serialize, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getGenericChildren
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
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.