public final class StringRecord extends ContinuableRecord
| Modifier and Type | Field and Description |
|---|---|
static short |
sid |
| Constructor and Description |
|---|
StringRecord() |
StringRecord(RecordInputStream in) |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
short |
getSid()
return the non static version of the id for this record.
|
String |
getString() |
protected void |
serialize(ContinuableRecordOutput out)
Serializes this record's content to the supplied data output.
The standard BIFF header (ushort sid, ushort size) has been handled by the superclass, so only BIFF data should be written by this method. |
void |
setString(String string)
Sets the string represented by this record.
|
String |
toString()
get a string representation of the record (for biffview/debugging)
|
getRecordSize, serializecloneViaReserialise, serializepublic static final short sid
public StringRecord()
public StringRecord(RecordInputStream in)
in - the RecordInputstream to read the record fromprotected void serialize(ContinuableRecordOutput out)
ContinuableRecordLittleEndianOutput 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 String getString()
public void setString(String string)
public String toString()
RecordCopyright © 2020. All rights reserved.