Package org.apache.poi.hdgf.pointers
Class PointerV6
- java.lang.Object
-
- org.apache.poi.hdgf.pointers.Pointer
-
- org.apache.poi.hdgf.pointers.PointerV6
-
public final class PointerV6 extends Pointer
A Pointer from v6+
-
-
Constructor Summary
Constructors Constructor Description PointerV6()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleandestinationCompressed()booleandestinationHasChunks()booleandestinationHasPointers()booleandestinationHasStrings()intgetNumPointers(int offset, byte[] data)32 bit int at the given offsetintgetNumPointersOffset(byte[] data)Stored within the datastatic intgetNumPointersOffsetV6(byte[] data)static intgetNumPointersV6(int offset, byte[] data)intgetPostNumPointersSkip()4 bytes of the number, and 4 more unknown bytesstatic intgetPostNumPointersSkipV6()intgetSizeInBytes()With v6 pointers, the on-disk size is 18 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 18 bytes- Specified by:
getSizeInBytesin classPointer
-
getNumPointersOffset
public int getNumPointersOffset(byte[] data)
Stored within the data- Specified by:
getNumPointersOffsetin classPointer
-
getNumPointersOffsetV6
public static int getNumPointersOffsetV6(byte[] data)
-
getNumPointers
public int getNumPointers(int offset, byte[] data)32 bit int at the given offset- Specified by:
getNumPointersin classPointer
-
getNumPointersV6
public static int getNumPointersV6(int offset, byte[] data)
-
getPostNumPointersSkip
public int getPostNumPointersSkip()
4 bytes of the number, and 4 more unknown bytes- Specified by:
getPostNumPointersSkipin classPointer
-
getPostNumPointersSkipV6
public static int getPostNumPointersSkipV6()
-
-