|
|||||||||||
| 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
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(short id,
short size,
byte[] data)
Main constructor -- kinda dummy because we don't validate or fill fields |
|
ContinueRecord(short id,
short size,
byte[] data,
int offset)
Main constructor -- kinda dummy because we don't validate or fill fields |
|
| Method Summary | |
java.lang.Object |
clone()
Clone this record. |
protected void |
fillFields(byte[] ignored_parm1,
short ignored_parm2)
Fill the fields. |
protected void |
fillFields(byte[] ignored_parm1,
short ignored_parm2,
int ignored_parm3)
Fill the fields. |
byte[] |
getData()
get the data for continuation |
short |
getSid()
return the non static version of the id for this record. |
static byte[] |
processContinue(byte[] data)
Deprecated. handle this within the record...this didn't actualyl work out |
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)
set the data for continuation |
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 |
getRecordSize, isInValueSection, isValue, processContinueRecord |
| 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(short id,
short size,
byte[] data)
id - record idsize - record sizedata - raw data
public ContinueRecord(short id,
short size,
byte[] data,
int offset)
id - record idsize - record sizedata - raw dataoffset - of the record's data| 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)
data - - a byte array containing all of the continued datapublic byte[] getData()
public static byte[] processContinue(byte[] data)
protected void fillFields(byte[] ignored_parm1,
short ignored_parm2)
fillFields in class Recordignored_parm1 - Ignoredignored_parm2 - Ignoredprotected 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 Record
protected void fillFields(byte[] ignored_parm1,
short ignored_parm2,
int ignored_parm3)
fillFields in class Recordignored_parm1 - Ignoredignored_parm2 - Ignoredignored_parm3 - Ignoredpublic java.lang.Object clone()
clone in class Record
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||