java.lang.Object
org.monte.media.quicktime.AbstractQuickTimeStream.Atom
org.monte.media.quicktime.AbstractQuickTimeStream.DataAtom
- Direct Known Subclasses:
AbstractQuickTimeStream.CompositeAtom
- Enclosing class:
AbstractQuickTimeStream
Data Atom.
-
Field Summary
FieldsFields inherited from class org.monte.media.quicktime.AbstractQuickTimeStream.Atom
offset, type -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
data
-
finished
protected boolean finished
-
-
Constructor Details
-
DataAtom
Creates a new DataAtom at the current position of the ImageOutputStream.- Parameters:
type- The type name of the atom.- Throws:
IOException
-
-
Method Details
-
getOutputStream
-
getOffset
public long getOffset()Returns the offset of this atom to the beginning of the random access file -
finish
Description copied from class:AbstractQuickTimeStream.AtomWrites the atom to the ImageOutputStream and disposes it.- Specified by:
finishin classAbstractQuickTimeStream.Atom- Throws:
IOException
-
size
public long size()Description copied from class:AbstractQuickTimeStream.AtomReturns the size of the atom including the size of the atom header.- Specified by:
sizein classAbstractQuickTimeStream.Atom- Returns:
- The size of the atom.
-