org.stanwood.media.store.mp4.atomicparsley
Class APAtomNumber

java.lang.Object
  extended by org.stanwood.media.store.mp4.atomicparsley.AbstractAPAtom
      extended by org.stanwood.media.store.mp4.atomicparsley.APAtomNumber
All Implemented Interfaces:
IAtom, IAtomNumber

public class APAtomNumber
extends AbstractAPAtom
implements IAtomNumber

Used to store mp4 number atom data


Constructor Summary
APAtomNumber(MP4AtomKey name, long value)
          The constructor
 
Method Summary
 long getValue()
          Used to get the value of the atom
 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
 
Methods inherited from class org.stanwood.media.store.mp4.atomicparsley.AbstractAPAtom
cleanup, getDisplayName, getKey, getName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.stanwood.media.store.mp4.IAtom
getDisplayName, getKey, getName
 

Constructor Detail

APAtomNumber

public APAtomNumber(MP4AtomKey name,
                    long value)
The constructor

Parameters:
name - The name of the atom
value - The value of the atom
Method Detail

toString

public java.lang.String toString()
Print out the contents of the atom

Overrides:
toString in class java.lang.Object
Returns:
Textual value of the atom

getValue

public long getValue()
Used to get the value of the atom

Specified by:
getValue in interface IAtomNumber
Returns:
The value of the atom

writeAtom

public 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

Specified by:
writeAtom in class AbstractAPAtom
Parameters:
mp4File - The mp4 file
extended - Is this a newer version of the tool
args - The argument list to add to