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