public final class ChunkFactory
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
ChunkFactory.CommandDefinition
The definition of a Command, which a chunk may hold.
|
Constructor and Description |
---|
ChunkFactory(int version) |
Modifier and Type | Method and Description |
---|---|
Chunk |
createChunk(byte[] data,
int offset)
Creates the appropriate chunk at the given location.
|
int |
getVersion() |
public ChunkFactory(int version) throws java.io.IOException
java.io.IOException
public int getVersion()
public Chunk createChunk(byte[] data, int offset)
data
- offset
- Copyright © 2005-2010 Potix Corporation. All Rights Reserved.