Package org.apache.poi.hdgf.pointers
Class Pointer
java.lang.Object
org.apache.poi.hdgf.pointers.Pointer
Base class of pointers, which hold metadata and offsets about
blocks elsewhere in the file
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract boolean
abstract boolean
abstract boolean
abstract boolean
int
short
int
abstract int
getNumPointers
(int offset, byte[] data) abstract int
getNumPointersOffset
(byte[] data) int
abstract int
abstract int
int
getType()
protected boolean
isFormatBetween
(int min, int max) protected void
setAddress
(int address) protected void
setFormat
(short format) protected void
setLength
(int length) protected void
setOffset
(int offset) protected void
setType
(int type)
-
Constructor Details
-
Pointer
public Pointer()
-
-
Method Details
-
getAddress
public int getAddress() -
getFormat
public short getFormat() -
getLength
public int getLength() -
getOffset
public int getOffset() -
getType
public int getType() -
getSizeInBytes
public abstract int getSizeInBytes() -
getNumPointersOffset
public abstract int getNumPointersOffset(byte[] data) -
getNumPointers
public abstract int getNumPointers(int offset, byte[] data) -
getPostNumPointersSkip
public abstract int getPostNumPointersSkip() -
destinationHasStrings
public abstract boolean destinationHasStrings() -
destinationHasPointers
public abstract boolean destinationHasPointers() -
destinationHasChunks
public abstract boolean destinationHasChunks() -
destinationCompressed
public abstract boolean destinationCompressed() -
setType
protected void setType(int type) -
setAddress
protected void setAddress(int address) -
setOffset
protected void setOffset(int offset) -
setLength
protected void setLength(int length) -
setFormat
protected void setFormat(short format) -
isFormatBetween
protected boolean isFormatBetween(int min, int max)
-