public abstract class AbstractAPAtom extends java.lang.Object implements IAtom
Constructor and Description |
---|
AbstractAPAtom(MP4AtomKey key)
The constructor
|
Modifier and Type | Method and Description |
---|---|
void |
cleanup()
Called after processing the atom to clean up any used resources
|
java.lang.String |
getDisplayName()
Gets the display name
|
MP4AtomKey |
getKey()
Used to get the atom key
|
java.lang.String |
getName()
Used to get the name of the atom
|
abstract void |
writeAtom(java.io.File mp4File,
boolean extended,
java.util.List<java.lang.Object> args)
Used to get the arguments need to write a atom to the mp4 file
|
public AbstractAPAtom(MP4AtomKey key)
key
- The key of the atompublic java.lang.String getDisplayName()
getDisplayName
in interface IAtom
public java.lang.String getName()
public MP4AtomKey getKey()
public abstract void writeAtom(java.io.File mp4File, boolean extended, java.util.List<java.lang.Object> args) throws MP4Exception
mp4File
- The mp4 fileextended
- Is this a newer version of the toolargs
- The argument list to add toMP4Exception
- Thrown if their are any problemspublic void cleanup() throws MP4Exception
MP4Exception
- Thrown if their is a problem