protected class AbstractQuickTimeStream.CompositeAtom extends AbstractQuickTimeStream.DataAtom
| Modifier and Type | Field and Description |
|---|---|
protected LinkedList<AbstractQuickTimeStream.Atom> |
children |
data, finishedoffset, type| Constructor and Description |
|---|
AbstractQuickTimeStream.CompositeAtom(String type)
Creates a new CompositeAtom at the current position of the
ImageOutputStream.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(AbstractQuickTimeStream.Atom child) |
void |
finish()
Writes the atom and all its children to the ImageOutputStream and
disposes of all resources held by the atom.
|
long |
size()
Returns the size of the atom including the size of the atom header.
|
getOffset, getOutputStreamprotected LinkedList<AbstractQuickTimeStream.Atom> children
public AbstractQuickTimeStream.CompositeAtom(String type) throws IOException
type - The type of the atom.IOExceptionpublic void add(AbstractQuickTimeStream.Atom child) throws IOException
IOExceptionpublic void finish()
throws IOException
finish in class AbstractQuickTimeStream.DataAtomIOExceptionpublic long size()
AbstractQuickTimeStream.Atomsize in class AbstractQuickTimeStream.DataAtomCopyright © 2014. All Rights Reserved.