Package org.apache.poi.hdgf.pointers
Class PointerV5
java.lang.Object
org.apache.poi.hdgf.pointers.Pointer
org.apache.poi.hdgf.pointers.PointerV5
A Pointer from v5
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
boolean
boolean
int
getNumPointers
(int offset, byte[] data) 16 bit int at the given offsetint
getNumPointersOffset
(byte[] data) Depends on the type only, not storedint
Just the 2 bytes of the number of pointersint
With v6 pointers, the on-disk size is 16 bytesMethods inherited from class org.apache.poi.hdgf.pointers.Pointer
getAddress, getFormat, getLength, getOffset, getType, isFormatBetween, setAddress, setFormat, setLength, setOffset, setType
-
Constructor Details
-
PointerV5
public PointerV5()
-
-
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 16 bytes- Specified by:
getSizeInBytes
in classPointer
-
getNumPointersOffset
public int getNumPointersOffset(byte[] data) Depends on the type only, not stored- Specified by:
getNumPointersOffset
in classPointer
-
getNumPointers
public int getNumPointers(int offset, byte[] data) 16 bit int at the given offset- Specified by:
getNumPointers
in classPointer
-
getPostNumPointersSkip
public int getPostNumPointersSkip()Just the 2 bytes of the number of pointers- Specified by:
getPostNumPointersSkip
in classPointer
-