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

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

public class APAtomBoolean
extends AbstractAPAtom
implements IAtom

Used to represent a atomic parsley boolean atom


Constructor Summary
APAtomBoolean(MP4AtomKey name, boolean value)
          The constructor
 
Method Summary
 boolean 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

APAtomBoolean

public APAtomBoolean(MP4AtomKey name,
                     boolean 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 boolean getValue()
Used to get the value of the atom

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