|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.poi.hdgf.chunks.ChunkFactory
public class ChunkFactory
Factor class to create the appropriate chunks, which needs the version of the file to process the chunk header and trailer areas. Makes use of chunks_parse_cmds.tbl from vsdump to be able to process the chunk value area
Nested Class Summary | |
---|---|
class |
ChunkFactory.CommandDefinition
The definition of a Command, which a chunk may hold. |
Constructor Summary | |
---|---|
ChunkFactory(int version)
|
Method Summary | |
---|---|
Chunk |
createChunk(byte[] data,
int offset)
Creates the appropriate chunk at the given location. |
int |
getVersion()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ChunkFactory(int version) throws java.io.IOException
java.io.IOException
Method Detail |
---|
public int getVersion()
public Chunk createChunk(byte[] data, int offset)
data
- offset
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |