|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jxl.biff.RecordData | +--jxl.biff.WritableRecordData | +--jxl.write.biff.SSTContinueRecord
A continuation of a shared string table record.
Field Summary | |
private int |
byteCount
The count of bytes needed so far to contain this record |
private byte[] |
data
The binary data |
private java.lang.String |
firstString
The first string is a special case |
private int |
firstStringLength
The length of the first string |
private boolean |
includeLength
Indicates whether or not we need to include the length information for the first string |
private static int |
maxBytes
The maximum amount of bytes available for the SST record |
private java.util.ArrayList |
stringLengths
The list of string lengths |
private java.util.ArrayList |
strings
The list of strings |
Fields inherited from class jxl.biff.WritableRecordData |
maxRecordLength |
Fields inherited from class jxl.biff.RecordData |
code, record |
Constructor Summary | |
SSTContinueRecord()
Constructor |
Method Summary | |
int |
add(java.lang.String s)
Adds a string to this record. |
byte[] |
getData()
Gets the binary data for output to file |
int |
getOffset()
Gets the current offset into this record, excluding the header fields |
int |
setFirstString(java.lang.String s,
boolean b)
Adds the first string to this SST record |
Methods inherited from class jxl.biff.WritableRecordData |
getBytes, handleContinueRecords |
Methods inherited from class jxl.biff.RecordData |
getCode, getRecord |
Methods inherited from class java.lang.Object |
|
Field Detail |
private java.lang.String firstString
private boolean includeLength
private int firstStringLength
private java.util.ArrayList strings
private java.util.ArrayList stringLengths
private byte[] data
private int byteCount
private static int maxBytes
Constructor Detail |
public SSTContinueRecord()
numRefs
- the number of string references in the workbooks
- the number of stringsMethod Detail |
public int setFirstString(java.lang.String s, boolean b)
s
- the string to addb
- include the length information for the first stringpublic int getOffset()
public int add(java.lang.String s)
s
- the string to addpublic byte[] getData()
getData
in class WritableRecordData
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |