Package org.apache.poi.hdgf.pointers
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 Summary
Constructors Constructor Description PointerV5()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleandestinationCompressed()booleandestinationHasChunks()booleandestinationHasPointers()booleandestinationHasStrings()intgetNumPointers(int offset, byte[] data)16 bit int at the given offsetintgetNumPointersOffset(byte[] data)Depends on the type only, not storedintgetPostNumPointersSkip()Just the 2 bytes of the number of pointersintgetSizeInBytes()With v6 pointers, the on-disk size is 16 bytes
-
-
-
Method Detail
-
destinationHasStrings
public boolean destinationHasStrings()
- Specified by:
destinationHasStringsin classPointer
-
destinationHasPointers
public boolean destinationHasPointers()
- Specified by:
destinationHasPointersin classPointer
-
destinationHasChunks
public boolean destinationHasChunks()
- Specified by:
destinationHasChunksin classPointer
-
destinationCompressed
public boolean destinationCompressed()
- Specified by:
destinationCompressedin classPointer
-
getSizeInBytes
public int getSizeInBytes()
With v6 pointers, the on-disk size is 16 bytes- Specified by:
getSizeInBytesin classPointer
-
getNumPointersOffset
public int getNumPointersOffset(byte[] data)
Depends on the type only, not stored- Specified by:
getNumPointersOffsetin classPointer
-
getNumPointers
public int getNumPointers(int offset, byte[] data)16 bit int at the given offset- Specified by:
getNumPointersin classPointer
-
getPostNumPointersSkip
public int getPostNumPointersSkip()
Just the 2 bytes of the number of pointers- Specified by:
getPostNumPointersSkipin classPointer
-
-