protected class AbstractQuickTimeStream.CompositeAtom extends AbstractQuickTimeStream.DataAtom
| Modifier and Type | Field and Description |
|---|---|
protected java.util.LinkedList<AbstractQuickTimeStream.Atom> |
children |
data, finishedoffset, type| Constructor and Description |
|---|
CompositeAtom(java.lang.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 java.util.LinkedList<AbstractQuickTimeStream.Atom> children
public CompositeAtom(java.lang.String type)
throws java.io.IOException
type - The type of the atom.java.io.IOExceptionpublic void add(AbstractQuickTimeStream.Atom child) throws java.io.IOException
java.io.IOExceptionpublic void finish()
throws java.io.IOException
finish in class AbstractQuickTimeStream.DataAtomjava.io.IOExceptionpublic long size()
AbstractQuickTimeStream.Atomsize in class AbstractQuickTimeStream.DataAtom