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 booleanabstract booleanabstract booleanabstract booleanintshortintabstract intgetNumPointers(int offset, byte[] data) abstract intgetNumPointersOffset(byte[] data) intabstract intabstract intintgetType()protected booleanisFormatBetween(int min, int max) protected voidsetAddress(int address) protected voidsetFormat(short format) protected voidsetLength(int length) protected voidsetOffset(int offset) protected voidsetType(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)
-