java.lang.Object
org.monte.media.quicktime.AbstractQuickTimeStream.Atom
- Direct Known Subclasses:
AbstractQuickTimeStream.DataAtom,AbstractQuickTimeStream.WideDataAtom
- Enclosing class:
AbstractQuickTimeStream
Atom base class.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
type
The type of the atom. A String with the length of 4 characters. -
offset
protected long offsetThe offset of the atom relative to the start of the ImageOutputStream.
-
-
Constructor Details
-
Atom
Creates a new Atom at the current position of the ImageOutputStream.- Parameters:
type- The type of the atom. A string with a length of 4 characters.
-
-
Method Details
-
finish
Writes the atom to the ImageOutputStream and disposes it.- Throws:
IOException
-
size
public abstract long size()Returns the size of the atom including the size of the atom header.- Returns:
- The size of the atom.
-