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 TypeMethodDescriptionbooleanbooleanbooleanbooleanintgetNumPointers(int offset, byte[] data) 16 bit int at the given offsetintgetNumPointersOffset(byte[] data) Depends on the type only, not storedintJust the 2 bytes of the number of pointersintWith 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:
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
-