|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.poi.hdgf.chunks.ChunkHeader
public abstract class ChunkHeader
A chunk header
| Field Summary | |
|---|---|
protected int |
id
|
protected int |
length
|
protected int |
type
|
protected int |
unknown1
|
| Constructor Summary | |
|---|---|
ChunkHeader()
|
|
| Method Summary | |
|---|---|
static ChunkHeader |
createChunkHeader(int documentVersion,
byte[] data,
int offset)
Creates the appropriate ChunkHeader for the Chunk Header at the given location, for the given document version. |
int |
getId()
Returns the ID/IX of the chunk |
int |
getLength()
Returns the length of the trunk, excluding the length of the header, trailer or separator. |
abstract int |
getSizeInBytes()
|
int |
getType()
Returns the type of the chunk, which affects the mandatory information |
int |
getUnknown1()
|
abstract boolean |
hasSeparator()
|
abstract boolean |
hasTrailer()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected int type
protected int id
protected int length
protected int unknown1
| Constructor Detail |
|---|
public ChunkHeader()
| Method Detail |
|---|
public static ChunkHeader createChunkHeader(int documentVersion,
byte[] data,
int offset)
public abstract int getSizeInBytes()
public abstract boolean hasTrailer()
public abstract boolean hasSeparator()
public int getId()
public int getLength()
public int getType()
public int getUnknown1()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||