java.lang.Object
org.monte.media.avi.AbstractAVIStream.Chunk
org.monte.media.avi.AbstractAVIStream.DataChunk
- Enclosing class:
AbstractAVIStream
Data Chunk.
-
Field Summary
FieldsFields inherited from class org.monte.media.avi.AbstractAVIStream.Chunk
chunkType, offset -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
finished
protected boolean finished
-
-
Constructor Details
-
DataChunk
Creates a new DataChunk at the current position of the ImageOutputStream.- Parameters:
name- The name of the chunk.- Throws:
IOException
-
DataChunk
Creates a new DataChunk at the current position of the ImageOutputStream.- Parameters:
name- The name of the chunk.dataSize- The size of the chunk data, or -1 if not known.- Throws:
IOException
-
-
Method Details
-
getOutputStream
-
getOffset
public long getOffset()Returns the offset of this chunk to the beginning of the random access file -
finish
Description copied from class:AbstractAVIStream.ChunkWrites the chunk to the ImageOutputStream and disposes it.- Specified by:
finishin classAbstractAVIStream.Chunk- Throws:
IOException
-
size
public long size()Description copied from class:AbstractAVIStream.ChunkReturns the size of the chunk including the size of the chunk header.- Specified by:
sizein classAbstractAVIStream.Chunk- Returns:
- The size of the chunk.
-