public final class StringRecord extends ContinuableRecord
Stores the cached result of a text formula
(STRING (0x0207) 存储文本公式的缓存结果)Modifier and Type | Field and Description |
---|---|
static short |
sid |
Constructor and Description |
---|
StringRecord() |
StringRecord(RecordInputStream in) |
StringRecord(StringRecord other) |
Modifier and Type | Method and Description |
---|---|
StringRecord |
copy() |
java.util.Map<java.lang.String,java.util.function.Supplier<?>> |
getGenericProperties() |
HSSFRecordTypes |
getGenericRecordType() |
short |
getSid()
return the non static version of the id for this record.
(返回此记录的 id 的非静态版本。)
|
java.lang.String |
getString() |
protected void |
serialize(ContinuableRecordOutput out)
Serializes this record's content to the supplied data output.
(将此记录的内容序列化为提供的数据输出。)
|
void |
setString(java.lang.String string)
Sets the string represented by this record.
(设置此记录表示的字符串。)
|
getRecordSize, serialize
cloneViaReserialise, serialize, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getGenericChildren
public static final short sid
public StringRecord()
public StringRecord(StringRecord other)
public StringRecord(RecordInputStream in)
in
- the RecordInputStream to read the record from
(in - 要从中读取记录的 RecordInputStream)
protected void serialize(ContinuableRecordOutput out)
ContinuableRecord
The standard BIFF header (ushort sid, ushort size) has been handled by the superclass, so only BIFF data should be written by this method. Simple data types can be written with the standard LittleEndianOutput
methods. Methods from ContinuableRecordOutput
can be used to serialize strings (with ContinueRecord
s being written as required). If necessary, implementors can explicitly start ContinueRecord
s (regardless of the amount of remaining space).
serialize
in class
ContinuableRecord
(在类 ContinuableRecord 中序列化)
out
- a data output stream
(out - 数据输出流)
public short getSid()
Record
public java.lang.String getString()
public void setString(java.lang.String string)
string
- The string-value for this record
(string - 此记录的字符串值)
public StringRecord copy()
copy
in interface
Duplicatable
(复制到界面 Duplicatable)
copy
in class
Record
(复制课堂记录)
public HSSFRecordTypes getGenericRecordType()
getGenericRecordType
in interface
GenericRecord
(接口 GenericRecord 中的 getGenericRecordType)
getGenericRecordType
in class
Record
(类 Record 中的 getGenericRecordType)
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.