Class Pointer

java.lang.Object
org.apache.poi.hdgf.pointers.Pointer
Direct Known Subclasses:
PointerV5, PointerV6

public abstract class Pointer extends Object
Base class of pointers, which hold metadata and offsets about blocks elsewhere in the file
  • Constructor Details

    • Pointer

      public Pointer()
  • Method Details

    • getAddress

      public int getAddress()
    • getFormat

      public short getFormat()
    • getLength

      public int getLength()
    • getOffset

      public int getOffset()
    • getType

      public int getType()
    • getSizeInBytes

      public abstract int getSizeInBytes()
    • getNumPointersOffset

      public abstract int getNumPointersOffset(byte[] data)
    • getNumPointers

      public abstract int getNumPointers(int offset, byte[] data)
    • getPostNumPointersSkip

      public abstract int getPostNumPointersSkip()
    • destinationHasStrings

      public abstract boolean destinationHasStrings()
    • destinationHasPointers

      public abstract boolean destinationHasPointers()
    • destinationHasChunks

      public abstract boolean destinationHasChunks()
    • destinationCompressed

      public abstract boolean destinationCompressed()
    • setType

      protected void setType(int type)
    • setAddress

      protected void setAddress(int address)
    • setOffset

      protected void setOffset(int offset)
    • setLength

      protected void setLength(int length)
    • setFormat

      protected void setFormat(short format)
    • isFormatBetween

      protected boolean isFormatBetween(int min, int max)