|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.poi.hssf.record.RecordBase
org.apache.poi.hssf.record.Record
org.apache.poi.hssf.record.ContinueRecord
public final class ContinueRecord
Title: Continue Record(0x003C) - 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(byte[] data)
|
|
ContinueRecord(RecordInputStream in)
Fill the fields. |
Method Summary | |
---|---|
java.lang.Object |
clone()
|
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. |
java.lang.String |
toString()
get a string representation of the record (for biffview/debugging) |
static int |
write(byte[] destBuf,
int destOffset,
java.lang.Byte initialDataByte,
byte[] srcData)
Writes the full encoding of a Continue record without making an instance |
static int |
write(byte[] destBuf,
int destOffset,
java.lang.Byte initialDataByte,
byte[] srcData,
int srcOffset,
int len)
|
Methods inherited from class org.apache.poi.hssf.record.Record |
---|
cloneViaReserialise, getRecordSize |
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(byte[] data)
public ContinueRecord(RecordInputStream in)
in
- the RecordInputstream to read the record fromMethod Detail |
---|
public byte[] serialize()
serialize
in class Record
public int serialize(int offset, byte[] data)
RecordBase
serialize
in class RecordBase
offset
- to begin writing atdata
- byte array containing instance data
public byte[] getData()
public java.lang.String toString()
Record
toString
in class Record
public short getSid()
Record
getSid
in class Record
public java.lang.Object clone()
clone
in class Record
public static int write(byte[] destBuf, int destOffset, java.lang.Byte initialDataByte, byte[] srcData)
public static int write(byte[] destBuf, int destOffset, java.lang.Byte initialDataByte, byte[] srcData, int srcOffset, int len)
initialDataByte
- (optional - often used for unicode flag).
If supplied, this will be written before srcData
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |