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

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

public class APAtomString
extends AbstractAPAtom
implements IAtomString

Used to store mp4 string atom data


Constructor Summary
APAtomString(MP4AtomKey name, java.lang.String value)
          The constructor
 
Method Summary
 java.lang.String 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

APAtomString

public APAtomString(MP4AtomKey name,
                    java.lang.String 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

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

getValue

public java.lang.String getValue()
Used to get the value of the atom

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