jxl.write.biff
Class ExtendedSSTRecord
java.lang.Object
|
+--jxl.biff.RecordData
|
+--jxl.biff.WritableRecordData
|
+--jxl.write.biff.ExtendedSSTRecord
- All Implemented Interfaces:
- ByteData
- class ExtendedSSTRecord
- extends WritableRecordData
Indicates an extension to the Shared String Table. Currently this
contains blank records
Thanks to Guenther for contributing a proper implementation of the EXTSST
record, replacing my previous dummy version
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
infoRecordSize
private static final int infoRecordSize
numberOfStrings
private int numberOfStrings
absoluteStreamPositions
private int[] absoluteStreamPositions
relativeStreamPositions
private int[] relativeStreamPositions
currentStringIndex
private int currentStringIndex
ExtendedSSTRecord
public ExtendedSSTRecord(int newNumberOfStrings)
- Constructor
- Parameters:
numstrings
- the number of strings per bucketstreampos
- the absolute stream position of the beginning of
the SST record
getNumberOfBuckets
public int getNumberOfBuckets()
getNumberOfStringsPerBucket
public int getNumberOfStringsPerBucket()
addString
public void addString(int absoluteStreamPosition,
int relativeStreamPosition)
getData
public byte[] getData()
- Gets the binary data to be written out
- Overrides:
getData
in class WritableRecordData
- Returns:
- the binary data