public class APAtomArtwork extends AbstractAPAtom implements IAtom
Constructor and Description |
---|
APAtomArtwork(MP4AtomKey name,
MP4ArtworkType type,
int size,
byte[] data)
The constructor
|
Modifier and Type | Method and Description |
---|---|
void |
cleanup()
Called after processing the atom to clean up any used resources
|
java.lang.String |
toString()
Print out the contents of the atom
|
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
|
getDisplayName, getKey, getName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getDisplayName, getKey, getName
public APAtomArtwork(MP4AtomKey name, MP4ArtworkType type, int size, byte[] data)
name
- The name of the atomtype
- The type of the artworksize
- the size of the artworkdata
- the artwork datapublic void writeAtom(java.io.File mp4File, boolean extended, java.util.List<java.lang.Object> args) throws MP4Exception
writeAtom
in class AbstractAPAtom
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
cleanup
in class AbstractAPAtom
MP4Exception
- Thrown if their is a problempublic java.lang.String toString()
toString
in class java.lang.Object