|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.poi.hssf.record.RecordBase org.apache.poi.hssf.record.Record org.apache.poi.hssf.record.cont.ContinuableRecord org.apache.poi.hssf.record.StringRecord
public final class StringRecord
STRING (0x0207)
Stores the cached result of a text formula
Field Summary | |
---|---|
static short |
sid
|
Constructor Summary | |
---|---|
StringRecord()
|
|
StringRecord(RecordInputStream in)
|
Method Summary | |
---|---|
java.lang.Object |
clone()
|
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. |
java.lang.String |
toString()
get a string representation of the record (for biffview/debugging) |
Methods inherited from class org.apache.poi.hssf.record.cont.ContinuableRecord |
---|
getRecordSize, serialize |
Methods inherited from class org.apache.poi.hssf.record.Record |
---|
cloneViaReserialise, serialize |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final short sid
Constructor Detail |
---|
public StringRecord()
public StringRecord(RecordInputStream in)
in
- the RecordInputstream to read the record fromMethod Detail |
---|
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
out
- a data output streampublic short getSid()
Record
getSid
in class Record
public java.lang.String getString()
public void setString(java.lang.String string)
public java.lang.String toString()
Record
toString
in class Record
public java.lang.Object clone()
clone
in class Record
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |