|
||||||||||
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
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. |
abstract java.nio.charset.Charset |
getChunkCharset()
|
static int |
getHeaderSize(int documentVersion)
Returns the size of a chunk header 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 |
Constructor Detail |
---|
public ChunkHeader()
Method Detail |
---|
public static ChunkHeader createChunkHeader(int documentVersion, byte[] data, int offset)
public static int getHeaderSize(int documentVersion)
public abstract int getSizeInBytes()
public abstract boolean hasTrailer()
public abstract boolean hasSeparator()
public abstract java.nio.charset.Charset getChunkCharset()
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 |