protected class AbstractAVIStream.CompositeChunk extends AbstractAVIStream.Chunk
| Modifier and Type | Field and Description |
|---|---|
protected LinkedList<AbstractAVIStream.Chunk> |
children |
protected int |
compositeType
The type of the composite.
|
protected boolean |
finished |
chunkType, offset| Constructor and Description |
|---|
AbstractAVIStream.CompositeChunk(int compositeType,
int chunkType)
Creates a new CompositeChunk at the current position of the
ImageOutputStream.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(AbstractAVIStream.Chunk child) |
void |
finish()
Writes the chunk and all its children to the ImageOutputStream and
disposes of all resources held by the chunk.
|
long |
size()
Returns the size of the chunk including the size of the chunk header.
|
protected int compositeType
protected LinkedList<AbstractAVIStream.Chunk> children
protected boolean finished
public AbstractAVIStream.CompositeChunk(int compositeType,
int chunkType)
throws IOException
compositeType - The type of the composite.chunkType - The type of the chunk.IOExceptionpublic void add(AbstractAVIStream.Chunk child) throws IOException
IOExceptionpublic void finish()
throws IOException
finish in class AbstractAVIStream.ChunkIOExceptionpublic long size()
AbstractAVIStream.Chunksize in class AbstractAVIStream.ChunkCopyright © 2014. All Rights Reserved.