Class PointerV5

java.lang.Object
org.apache.poi.hdgf.pointers.Pointer
org.apache.poi.hdgf.pointers.PointerV5

public final class PointerV5 extends Pointer
A Pointer from v5
  • Constructor Details

    • PointerV5

      public PointerV5()
  • Method Details

    • destinationHasStrings

      public boolean destinationHasStrings()
      Specified by:
      destinationHasStrings in class Pointer
    • destinationHasPointers

      public boolean destinationHasPointers()
      Specified by:
      destinationHasPointers in class Pointer
    • destinationHasChunks

      public boolean destinationHasChunks()
      Specified by:
      destinationHasChunks in class Pointer
    • destinationCompressed

      public boolean destinationCompressed()
      Specified by:
      destinationCompressed in class Pointer
    • getSizeInBytes

      public int getSizeInBytes()
      With v6 pointers, the on-disk size is 16 bytes
      Specified by:
      getSizeInBytes in class Pointer
    • getNumPointersOffset

      public int getNumPointersOffset(byte[] data)
      Depends on the type only, not stored
      Specified by:
      getNumPointersOffset in class Pointer
    • getNumPointers

      public int getNumPointers(int offset, byte[] data)
      16 bit int at the given offset
      Specified by:
      getNumPointers in class Pointer
    • getPostNumPointersSkip

      public int getPostNumPointersSkip()
      Just the 2 bytes of the number of pointers
      Specified by:
      getPostNumPointersSkip in class Pointer