Package org.apache.poi.hdgf.pointers
Class PointerV6
java.lang.Object
org.apache.poi.hdgf.pointers.Pointer
org.apache.poi.hdgf.pointers.PointerV6
A Pointer from v6+
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
boolean
boolean
int
getNumPointers
(int offset, byte[] data) 32 bit int at the given offsetint
getNumPointersOffset
(byte[] data) Stored within the datastatic int
getNumPointersOffsetV6
(byte[] data) static int
getNumPointersV6
(int offset, byte[] data) int
4 bytes of the number, and 4 more unknown bytesstatic int
int
With v6 pointers, the on-disk size is 18 bytesMethods inherited from class org.apache.poi.hdgf.pointers.Pointer
getAddress, getFormat, getLength, getOffset, getType, isFormatBetween, setAddress, setFormat, setLength, setOffset, setType
-
Constructor Details
-
PointerV6
public PointerV6()
-
-
Method Details
-
destinationHasStrings
public boolean destinationHasStrings()- Specified by:
destinationHasStrings
in classPointer
-
destinationHasPointers
public boolean destinationHasPointers()- Specified by:
destinationHasPointers
in classPointer
-
destinationHasChunks
public boolean destinationHasChunks()- Specified by:
destinationHasChunks
in classPointer
-
destinationCompressed
public boolean destinationCompressed()- Specified by:
destinationCompressed
in classPointer
-
getSizeInBytes
public int getSizeInBytes()With v6 pointers, the on-disk size is 18 bytes- Specified by:
getSizeInBytes
in classPointer
-
getNumPointersOffset
public int getNumPointersOffset(byte[] data) Stored within the data- Specified by:
getNumPointersOffset
in 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:
getNumPointers
in 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:
getPostNumPointersSkip
in classPointer
-
getPostNumPointersSkipV6
public static int getPostNumPointersSkipV6()
-