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.
(写入此 BIFF 记录的数据内容。)
|
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 display
(text - 要显示的字符串)
public 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
(在 StandardRecord 类中序列化)
out
- the output object
(out - 输出对象)
protected final int getDataSize()
getDataSize
in class
StandardRecord
(类 StandardRecord 中的 getDataSize)
public abstract HeaderFooterBase copy()
copy
in interface
Duplicatable
(复制到界面 Duplicatable)
copy
in class
StandardRecord
(在 StandardRecord 类中复制)
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.