public final class StringRecord extends ContinuableRecord
Stores the cached result of a text formula
| 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.
|
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, serializecloneViaReserialise, serialize, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetGenericChildrenpublic static final short sid
public StringRecord()
public StringRecord(StringRecord other)
public StringRecord(RecordInputStream in)
in - the RecordInputStream to read the record fromprotected 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 ContinueRecords being written as required).
If necessary, implementors can explicitly start ContinueRecords (regardless of the
amount of remaining space).
serialize in class ContinuableRecordout - a data output streampublic short getSid()
Recordpublic java.lang.String getString()
public void setString(java.lang.String string)
string - The string-value for this recordpublic StringRecord copy()
copy in interface Duplicatablecopy in class Recordpublic HSSFRecordTypes getGenericRecordType()
getGenericRecordType in interface GenericRecordgetGenericRecordType in class Recordpublic java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
Copyright 2022 The Apache Software Foundation or its licensors, as applicable.