Class ExtSSTRecord

  • All Implemented Interfaces:
    org.apache.poi.common.Duplicatable, GenericRecord

    public final class ExtSSTRecord
    extends ContinuableRecord
    Extended Static String Table (0x00FF)

    This record is used for a quick lookup into the SST record. This record breaks the SST table into a set of buckets. The offsets to these buckets within the SST record are kept as well as the position relative to the start of the SST record.

    • Constructor Detail

      • ExtSSTRecord

        public ExtSSTRecord()
    • Method Detail

      • setNumStringsPerBucket

        public void setNumStringsPerBucket​(short numStrings)
      • getNumberOfInfoRecsForStrings

        public static int getNumberOfInfoRecsForStrings​(int numStrings)
      • getRecordSizeForStrings

        public static int getRecordSizeForStrings​(int numStrings)
        Given a number of strings (in the sst), returns the size of the extsst record
        Parameters:
        numStrings - the number of strings
        Returns:
        the size of the extsst record
      • getSid

        public short getSid()
        Description copied from class: Record
        return the non static version of the id for this record.
        Specified by:
        getSid in class Record
        Returns:
        he id for this record
      • setBucketOffsets

        public void setBucketOffsets​(int[] bucketAbsoluteOffsets,
                                     int[] bucketRelativeOffsets)
      • copy

        public ExtSSTRecord copy()
        Specified by:
        copy in interface org.apache.poi.common.Duplicatable
        Specified by:
        copy in class Record
      • getGenericProperties

        public java.util.Map<java.lang.String,​java.util.function.Supplier<?>> getGenericProperties()