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

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

public class APAtomRange
extends AbstractAPAtom
implements IAtom

Used to store mp4 range atom data


Constructor Summary
APAtomRange(MP4AtomKey name, short number, short total)
          The constructor
 
Method Summary
 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

APAtomRange

public APAtomRange(MP4AtomKey name,
                   short number,
                   short total)
The constructor

Parameters:
name - The name of the atom
number - the number of items in the rage
total - the maximum number in the range
Method Detail

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

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