|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.poi.hssf.record.Record
org.apache.poi.hssf.record.ContinueRecord
public class ContinueRecord
Title: Continue Record - Helper class used primarily for SST Records
Description: handles overflow for prior record in the input stream; content is tailored to that prior record
| Field Summary | |
|---|---|
static short |
sid
|
| Constructor Summary | |
|---|---|
ContinueRecord()
default constructor |
|
ContinueRecord(RecordInputStream in)
Main constructor -- kinda dummy because we don't validate or fill fields |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Clone this record. |
protected void |
fillFields(RecordInputStream in)
Fill the fields. |
byte[] |
getData()
get the data for continuation |
short |
getSid()
return the non static version of the id for this record. |
byte[] |
serialize()
USE ONLY within "processContinue" |
int |
serialize(int offset,
byte[] data)
called by the class that is responsible for writing this sucker. |
void |
setData(byte[] data)
|
java.lang.String |
toString()
Debugging toString |
protected void |
validateSid(short id)
Make sure we have a good id |
| Methods inherited from class org.apache.poi.hssf.record.Record |
|---|
cloneViaReserialise, getRecordSize, isInValueSection, isValue |
| 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 ContinueRecord()
public ContinueRecord(RecordInputStream in)
in - the RecordInputstream to read the record from| Method Detail |
|---|
public byte[] serialize()
serialize in class Record
public int serialize(int offset,
byte[] data)
Record
serialize in class Recordoffset - to begin writing atdata - byte array containing instance data
public void setData(byte[] data)
public byte[] getData()
protected void validateSid(short id)
validateSid in class Recordid - the alleged idpublic java.lang.String toString()
toString in class Recordpublic short getSid()
Record
getSid in class Recordprotected void fillFields(RecordInputStream in)
fillFields in class Recordin - the RecordInputstream to read the record frompublic java.lang.Object clone()
clone in class Record
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||