|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.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 | |
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 |
clone, 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 datapublic ContinueRecord(short id, short size, byte[] data, int offset)
id
- record idsize
- record sizedata
- raw dataoffset
- of the record's dataMethod Detail |
public byte[] serialize()
serialize
in class Record
org.apache.poi.hssf.record.Record
public int serialize(int offset, byte[] data)
Record
serialize
in class Record
org.apache.poi.hssf.record.Record
offset
- to begin writing atdata
- byte array containing instance datapublic 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 Record
ignored_parm1
- Ignoredignored_parm2
- Ignoredprotected void validateSid(short id)
validateSid
in class Record
id
- the alleged idpublic java.lang.String toString()
toString
in class Record
public short getSid()
Record
getSid
in class Record
protected void fillFields(byte[] ignored_parm1, short ignored_parm2, int ignored_parm3)
fillFields
in class Record
ignored_parm1
- Ignoredignored_parm2
- Ignoredignored_parm3
- Ignored
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |