protected class AbstractQuickTimeStream.WideDataAtom extends AbstractQuickTimeStream.Atom
Modifier and Type | Field and Description |
---|---|
protected DataAtomOutputStream |
data |
protected boolean |
finished |
offset, type
Constructor and Description |
---|
WideDataAtom(java.lang.String type)
Creates a new DataAtom at the current position of the
ImageOutputStream.
|
Modifier and Type | Method and Description |
---|---|
void |
finish()
Writes the atom to the ImageOutputStream and disposes it.
|
long |
getOffset()
Returns the offset of this atom to the beginning of the random access
file
|
DataAtomOutputStream |
getOutputStream() |
long |
size()
Returns the size of the atom including the size of the atom header.
|
protected DataAtomOutputStream data
protected boolean finished
public WideDataAtom(java.lang.String type) throws java.io.IOException
type
- The type of the atom.java.io.IOException
public DataAtomOutputStream getOutputStream()
public long getOffset()
public void finish() throws java.io.IOException
AbstractQuickTimeStream.Atom
finish
in class AbstractQuickTimeStream.Atom
java.io.IOException
public long size()
AbstractQuickTimeStream.Atom
size
in class AbstractQuickTimeStream.Atom